Community Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Multi USB-PCAN LabVIEW programming

Use mulit USB-PCAN hardware, for instance , use three PCAN connect to DUT for testing. They are work fine.

If I use one PCAN programming for drive, and one PCAN for testing in LabVIEW. and run the two programming. it is not working well. And how let they two channel run same time? I out the two programming in one, then run it, work very well. That means, Labview drive PCAN only can one time, IF you do two time, it will destroy the first one, that is why have to use one programming to run two PCAN.


Comments
Minions
Active Participant
Active Participant
on

One of the issues why you cannot handle multiples may be in how the error handling is performed.  When opening an instance, you must make sure that the CLOSE will occur every time an open occurs.  This means for the CLOSE, that the error in should be cleared of errors and merge any errors after the CLOSE function.  Otherwise, LabVIEW will continue to open more instances and lock-out the equipment until they are released.

The other issue may be that these vi's may not be able to handle multiple instances.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
Contributors