From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-24-2007 10:43 AM
05-24-2007 01:13 PM
The problem is the tag by itseld does not work. I have to attach the FP read or write there so it can appear. The idea is I have to use the tag not the constant so the user can select both use the default value or choose a new value. Please tell me is there anyway to make the tag drop down the menu without using the FP read or write VI?
05-25-2007 09:43 AM
Hi Thang,
The FP Read makes a call to the function ialv_getTagElements in the FPLVMgr.dll using the Call Library Function Node.vi to get the associated tags. So if you take a look at the attached VI it just makes a call to this function, and has an output to the channel that I choose. I turned this into a .exe file and I was able to choose a channel that I wanted, so I believe that this will work for you. If it doesn't let me know. Thanks.
05-29-2007 11:39 AM
Thanks,
I tried with the new solution, and it works.
But I don't quite understand what this VI does. From this example, I found that there are a lot of VIs which I don't know when I should use it. There is not any material tell about these VIs' feature.
Thang.
05-30-2007 08:38 AM
Hi Thang,
I am glad to hear that the VI that I posted worked out for you. Basically what the VI is doing is calling a dll (with a Call Library Function Node) that a FP Read/Write Vi calls when associating a FieldPoint device and channel to the operation. A great place to look for more help on FieldPoint VI's is the help section in LabVIEW. If you have a LabVIEW window open, you can click on the help Menu on the top bar, and select FieldPoint from the drop down menu. This help file covers using FieldPoint devices in LabVIEW.