11-11-2014 12:32 PM
Attached is my Initialize VI for the DMM. It works fine. I had a lot of trouble getting the DMM functions to work. My Configure VI is attached also. The meter seems to be very slow and needs large delays.
11-11-2014 12:57 PM
11-11-2014 01:42 PM - edited 11-11-2014 01:48 PM
I have this same code for the initialization, but it is still not working. See the NI trace I acquired. Any thoughts?
I did try to use the "Instr Assist" blocks and they seem to sort of work. They lock the device though and it makes it very hard to debug.
Here is my code:
11-11-2014 03:18 PM
I notice that the instrument assist seems to use the same viOpen calls that NIMAX and the Agilent IO tool use. Am I useing the wrong category in my VI such that I am getting the VISA calls instead?
This is the trace from the instrument assist box.
Issue I have with this is that there is no way to insert delays between commands. The DMM seems to have issues with the commands coming to fast. If I split it up into different blocks, the block seem to flush the IO when they are called/leave so you loose your data.
11-11-2014 03:25 PM
11-11-2014 04:47 PM
I agree. You have to have the termination character enabled and set to 0xA for this meter.
11-12-2014 06:39 AM
So why do they show up differently in the NI IO trace tool?
Not sure what you mean about the termination character. It is on and set to xA for a LF.
11-12-2014 08:28 AM
11-12-2014 08:53 AM
I got it working. I failed to see somehow my data bits got set to 7 instead of 8. Also the setting of the buffer size seemed to be messing things up so I just removed that. thanks all. The DMM is very picky, I have had to put a bunch of time delays in or it errors out.
03-31-2015 03:56 PM
Would it be possible to share the actual VI that was created for this DMM? I'm trying to connect mine to LabVIEW and am in way above my head. The pictures are great, but ideally I'd love to be able to grab the VI you developed and run with it.