Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

gpib GET command using the GPIB ActiveX Control

Is there a way to trigger multiple instruments via the gpib 'GET' command using the GPIB activeX control for Visual Basic?
0 Kudos
Message 1 of 4
(6,276 Views)
Hello,

I'm a bit confused as to what GET command you are trying to use. Where is this command located? Also, what are you trying to accomplish through use of this function?

GPIB can control multiple instruments through the activeX control for Visual Basic. More information about specific commands can be found in the help files. On your Desktop, click [Start]>>[All Programs]>>[National Instruments]>>[NI 488.2]>>[NI 488.2 Help]. Now, under the "Contents" tab, click [Contents]>>[Multiple Device NI-488.2 Calls]. A list of multiple device function calls can now be referenced for help in performing your desired action within Visual Basic.

I hope this helps. Please let me know if I can further assist you.

Best Regards,

Joe Des Rosier
National Instrument
s
0 Kudos
Message 2 of 4
(6,276 Views)
Joe,

Sorry about the confusion. What I'm trying to do is trigger multiple GPIB instruments with the same command. According to some GPIB literature there is a 'GET' (Group Execute Trigger) command to accomplish this. My question is: Is there a way the activeX control can trigger multiple instruments on the same GPIB bus?

If the activeX control will not do it I can import a SICL driver in VB to do the triggering but then I'm concerned that there might be contention between the driver and the activex control (I might have to abandon te activeX control completely).

...Hope that clears it up.

Regards,
0 Kudos
Message 3 of 4
(6,276 Views)
Hello,

Ok, I know what function you are trying to use now. Thanks for the clarification.

Yes, ActiveX can control multiple instruments on the same GPIB bus. The list of function calls for doing this is listed within the NI-488.2 help.

The NI equvalent of this function is called "TriggerList." To learn more about this function, go to your desktop and do the following:

Click [Start]>>[All Programs]>>[National Instruments]>>[NI-488.2]>> [NI-488.2 Help]

Then, click [Contents]>>[Function Reference]>>[Multi-Device NI-488.2 Calls]>>[TriggerList].

I hope this is what you need.

Good luck,

Joe Des Rosier
National Instruments
0 Kudos
Message 4 of 4
(6,276 Views)