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-2008 08:26 AM
05-27-2008 08:36 PM - edited 05-27-2008 08:37 PM
Hi Hazecks, A fast way to create Variables Binded to a OPC server for example Modbus is the following.
Add the IO server in a new library
Right-Click the library an select Create Bound Variables
In the menu select your IO server and select the range you want your variables to be Bounded to
Then add range. This will create a variable binded to that register of the OPC.
This way in a couple of minutes you can create all the variables.
If this is nor working for you, you can create the variables programmatically, you can find more details for that in this link: . How do I Programmatically Change the Data Binding Source for Shared Variables?
Also this Training for DSC you can Download Free : LabVIEW Module Training could have some interesting information.
Best Regards
05-31-2008 04:26 PM
06-05-2008 12:04 PM
Hi Hazeckz, you said you were coping the Variables and changing the Binding: "when i create a new device, i use a library per device i used to copy the variables and create a new modbus driver for the device, inside the library, im using modbus tcp, so to do this faster i copy the variables and then in the variable editor i link it to the right library name, so this sound very good"
With this you create the variables directly binded to the Specific OPC server.
Did you tried the link for creating the Variables programmatically?
Best Regards