LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

If I use VB 6.0 to make a DLL that uses the GPIB ibrd etc. Can I use it from LabVIEW (also using the GPIB) without threading issues?

I've got a GPIB function debugged in VB 6 using ibdev, ibrd and ibwrt. I want to have access to it in LabVIEW. If I make the VB6 into a DLL, will I have problems trying to access it from LabVIEW? Will there be issues if the LabVIEW program is also trying to access the GPIB through visa? I noticed that version 2.0 of NI488.2 indicates improvements have been made to eliminate threading problems. Will I be OK if I use NI488.2 v 2.0 ?
0 Kudos
Message 1 of 2
(2,566 Views)
Hi,

You should not have too much trouble to the extent of having two programs running at the same time. Deep down in the LV Vi's they call into the dll just like your VB app does. The main problem will be the instrument. If you have two programs accessing the same instrument, you could have trouble if one program expects the instrument to be in a certain state and its not, or they both try to read at the same time, etc, etc, etc.

Hope this helps out!

Best Regards,
Aaron K.
Application Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,566 Views)