06-15-2011 11:55 AM
Dear All;
I am novice in controlling NI USB-5132. I have recently bought some NI USB-5132 module to be used in our radar experments.
I would like to control the NI USB-5132 by using VB.6 program. So far, the NI examples I have come across (for this module) have been written in labview or C. I want to use VB.6 language as all the other instruments (VNA and X-Y table positioner) to be used with the NI USB-5132 are being controlled with program I wrote in VB.6.
I just wonder if any of you as some VB examples for the NI USB-5132 or if you have any idea on how to modify the NI C program example code ifor this module into VB.6.
Thanks in advance.
Xavier
06-16-2011 10:55 AM
Hi Xavier,
In terms of VB.6, im going to take it we are talking Visual Basic 6 right? The 5132 device uses the NI SCOPE driver and api.
I ran a search on the example page of our website I came up with quite a few examples for using the NI SCOPE driver being used in conjunction with the visual basic environment. Allow me to mass link you.
Now, comes another idea. Does installing the NI SCOPE driver install visual basic examples into a VB folder directory? The answer I have found is Yes. see the picture below taken from the NI SCOPE install wizard. You can also see the file path that the examples are installed into.
The NI SCOPE driver can be downloaded for free from here. I have checked that this version of the driver does indeed support Visual Basic 6.0. Check out the readme file on the driver page and see the topic "examples" for some more info on where to find the example files.
I hope this has prooved helpful! All the best with your radar testing.
06-17-2011 07:07 AM
Hello Rhys;
Thanks for your replay. I had installed the NI-Scope but the available Visual basic examples do not support the NI 5132 model.
The examples that support it are all written in C and labview. As I am not familiar with protocols, so I am looking for some example that can test and get me started.
I will download the link you gave me and try to understand the code.
regards
xavier