05-08-2014 12:01 AM
Hi,
I had a go with a NI-VISA driver wizard. I wanted to create a driver for MH3114 DAQ. Wizard went trough very smoothly, and the driver has been installed.
However when I did *IDN? under MAX I've received an error.
Does it mean I have to create/implement any SCPI command?
How the wizard is intened to work?
Solved! Go to Solution.
05-08-2014 01:19 AM
05-08-2014 02:14 AM
05-08-2014 02:55 AM
05-08-2014 04:30 AM
No it is not listed. There is no SCPI command for this hardware.
I thought I can create them with the wizard
05-08-2014 05:27 AM
05-08-2014 07:14 AM
Usually, I call dll directly if I'd like to talk to the device. How I can trigger the dll function using SCPI?
05-08-2014 07:45 AM
05-09-2014 07:16 AM
Hi MimiKL,
As Dennis has said, instruments are either designed to work with SCPI commands or not. If the user manual does not state the device is SCPI compliant then SCPI commands aren't going to work.
All the driver wizard does is generate a number of VIs which will send the standard SCPI commands to an SCPI compliant instrument. Depending on how you are communicating with the instrument (which bus) you may need to modify these VIs subtly to work with different instruments. But, as mentioned, if the device you are trying to communicate with isn't SCPI compliant then this is never going to work. For future reference, when using the driver wizard, all of the generated subVIs will have comments in them telling you exactly what you need to replace and change to get the driver working for your instrument.
If your device isn't SCPI compliant and you have a dll which works then you should continue using it.
Best Regards,
Chris