LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fieldpoint

there are ways to add IO if the devices have already been setup in MAX or your Project.  But is there a way to add new devices without stopping your code and without having to set the devices up in MAX first?
Prashant Soni
LabVIEW Engineer
0 Kudos
Message 1 of 3
(2,446 Views)

Hi Prashant S,

if you write your function so that you can handle it, then it's possible. Can you explain what exactly you mean? Do you think about new channels or new devices?

 

Mike

0 Kudos
Message 2 of 3
(2,443 Views)
What will the code read if no devices is found in the port? You can disable the error message and connect the error out of "open" to a case structure  and inside the no error case you can put your read/write function. Just a thought. But are ou sure of the com port number?
0 Kudos
Message 3 of 3
(2,434 Views)