11-13-2006 09:10 PM
11-14-2006 04:29 PM
11-14-2006 08:40 PM
11-15-2006 06:29 PM
Hello Puat,
Have you or anyone else changed the software since it last ran correctly? If you simplify your code to just one channel, do you still get this error? You might want to try writing to the OPC server through Server Explorer, which should have installed into the National Instruments folder on your computer. This seems like a FieldPoint error, but it is definitely undocumented. By using the Server Explorer, we can determine whether the problem is within the VB code or the hardware.
Thanks,
Janell R | Applications Engineer
11-21-2006 11:53 PM - edited 11-21-2006 11:53 PM
Puat,
Do you _have_to_ use OPC? If you don't have to, you are probably better off using the direct Optomux serial commands. In fact there's a VB5 example for this available:
ftp://ftp.ni.com/support/fieldpoint/Examples/Visual%20Basic/
If you however have to use OPC, then as Janell suggested you will want to get this working with an OPC Client, like Sever Explorer, first.
-Khalid
Message Edited by Khalid on 11-21-2006 10:54 PM