FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

locking fieldpoint resources

hi
I would like to know if it is possible to lock a FP resource so as to prevent multiple instances of the same VI accidently accessing the same resources

Thanks.
0 Kudos
Message 1 of 2
(3,202 Views)
FieldPoint does not natively provide a way to lock an individual resource from multiple instances of the same VI, or multiple instances of different VI's. However, that is not to say that it is impossible to create on a FieldPoint system either. It is possible to write a LabVIEW program that would run in an FP-20XX module that would use the Publish Data.vi to make items available on the network for host computers to access. Each of these items could also have an additional published item that represented the state the item is in, "controlled by a program" or "idle". In the host VI code, you could write it to look at the state item, and if "idle" change it to "controlled" before writing to the date channel. Thus if a second VI was run, it would see that the channe
l was "controlled" and would not access it.

Regards,
Aaron
LabVIEW Champion, CLA, CPI
0 Kudos
Message 2 of 2
(3,202 Views)