From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-31-2015 09:37 PM
This is because you disabled the ID query when initializing the driver and didn't specify one in MAX.
So, if you want the driver not to reset the device while initializing, you should set the third connector on the left side of the connector pane to false, but not the second one:
Or else, if you really need the driver not to do ID query, you should specify one in MAX as follows:
You can see the detail about how to write the driver setup string in the help of the initailize function.
05-31-2015 10:26 PM
I debugged the driver with the ID reponse string you provided but cannot reproducce the error you met.
Would you please use NI I/O trace to capture the trace log for the "Single Point Measurment " example VI in the case of ID query is enabled? This will help me a lot to see why ID query failed in your device.
06-01-2015 12:46 AM
Hi guys!
Becouse of your comments i tryed some things:
1.: I wrote "DriverSetup= Model:34465A" in the MAX, like yagliu poposed. I also set the ID Query False. -> Mesurement works. (Pics: "max_driversetup.png" and "ioTrace_goodmesurement.png")
@yangliu: The points you mentioned due to my VI where the "F" with "reset device" comment goes to the "ID Query" Input... I wanted to set the ID Query to false, but i wrongly let the old commend on the "F".
2.: The Picture "ioTrace_original.png" includes the following configuration: "ID Query" True, DriverSetup in the MAX is empty (like befor)
06-01-2015 12:47 AM
3.: "DriverSetup= Model:34465A" is set in the MAX, ID Query False.
06-01-2015 01:08 AM
Now i did the following:
I connected my second 34465A and made a new logical name.
When i do a measurement with logic name "34465AMM5" DMM5 does the measurement. When i choose "34465AMM4" also DMM5 does the measurement.
When i shutdown DMM5, i get an error. (DMM not found)
I thought, by making the Hardware Assets in the Driver Session i can solve this?!
06-01-2015 01:13 AM
Hi pdengg,
So, does the example VI works currently when you set ID query to true and leave the DriverSetup in max to empty?
I didn't see any error in the attachment "ioTrace_original.png". It seem the "ioTrace_original.png" only include the log when you initialize your instrument. So if you are still unable to get the measurement result when ID query is set to true, could you run the example VI and capture a full trace log?
06-01-2015 01:22 AM
You get an error because both logical names are now using driver session ag3446x and in this driver session, you selected the DMM5 as the hardware.
If you want one logical name points to the DMM5 hardware while the other points to the DMM4, then you need to create a new driver session and choose a different hardware.
34465AMM4 (logical name) -> ag3446x (driver session) -> DMM4
34465AMM5 (logical name) -> ag3446x new (driver session) -> DMM5
06-01-2015 01:29 AM
The VI does not work when i set ID query to False. Either DriverSetup is empty or not.
06-01-2015 01:58 AM
Hi pdengg,
I found an issue in the driver, if any of the option is not installed, then the driver will report an error.
I've made some fix to the driver, so would you please try to use the dll in the attachment to replace the one you installed in <IVI_ROOT>/BIN/ and see if it now works
If you are using a 32-bit windows, the default location will be C:\Program Files (x86)\IVI Foundation\IVI\Bin
If 64-bit, the default location will be C:\Program Files\IVI Foundation\IVI\Bin
Sorry about the inconvenience
06-01-2015 02:43 AM
I replaced the ddl, but got the same error.
(The other problem with the Driver Session of the two DMMs is solved, thx!)