07-16-2013 10:00 AM
After installing newest NI-568x 1.1 driver, the NI586x Soft Front Panel works fine but LabVIEW gave me this error code
-1074134944: ni568x Initialize With Options.vi<ERR>Insufficient location information or resource not present in the system.
When I opened NI MAX and try to query IDN, it gave me this
1: Write Operation (*IDN?\n)
Return Count: 6 bytes
2: Read Operation
Return Count: 8 bytes
BAD CMD\n
What's wrong?
07-16-2013 10:26 AM - edited 07-16-2013 10:26 AM
The device is picky. "*IDN?\n" is a bad command. Just delete the asterix and "IDN?\n" should work fine. If not, try sending "START\n" and reading back "OK\n" first. I'll need a little more information to try to figure out what's going on in LabVIEW. Do you have any other USB devices attached, even phones and MP3 players? Do you have the Soft Front Panel Open? What operating system are you using? Are you working with an Application Engineer on this?
07-17-2013 07:06 AM
"IDN?\n" works fine in NI MAX.
I unplugged other USB devices and still have the same error.
ni568x Initialize With Options.vi calls Call Library Function "int32_t ni568x_InitWithOptions(const CStr resource name, uint16_t id query, uint16_t reset device, const CStr option string, uint32_t *session)". The only unwired input is "option string".
I don't have Soft Front Panel open.
My OS is Windows 7
07-17-2013 10:04 AM
Are you using a VISA alias?
07-23-2013 08:19 AM
I have similar problem, on MAX I see the VISA alias COM17, using this as a resource on sample program LabVIEW, it result with the error 1074134944.
Can You help me?
Thanks
07-23-2013 10:07 AM - edited 07-23-2013 10:09 AM
Onerevole,
For the record, the 568x driver does not support VISA aliases at this time. That is why I am asking.
When you say that you can see it in MAX. Is it the device (NI USB-5681 "COM17") listed under "Devices and Interfaces" or the virtual COM port (COM17) listed under "Devices and Interfaces>>Serial & Parallel"?
If the power meter is showing up, select it. Do you see the Serial Number and Firmware Version listed correctly in properties?
KQD,
Have you had any improvement with your issue?
07-24-2013 05:33 AM
.....
When you say that you can see it in MAX. Is it the device (NI USB-5681 "COM17") listed under "Devices and Interfaces" or the virtual COM port (COM17) listed under "Devices and Interfaces>>Serial & Parallel"?
Yes, I have COM17 as Alias on "Devices and Interfaces>>Serial & Parallel"
If the power meter is showing up, select it. Do you see the Serial Number and Firmware Version listed correctly in properties?
The Power Meter is not on list "Devices and Interfaces".
the example "ni568x Getting Started" give an error code 1074134944, but the other example "National Instruments USB-5680 Acquire Single Measurement" work fine. The "National Instruments USB-5680 Acquire Single Measurement" seem to use a VISA object, is correct?
Thanks
07-24-2013 09:32 AM
Onorevole,
It sounds like there is a problem with your installation of the driver. Try to re-install the NI-568x driver. http://joule.ni.com/nidu/cds/view/p/id/2074/lang/en
Which power meter are you using: the NI USB-5680 or 5681?
07-24-2013 09:53 AM
on the device is written "NI USB-5680-01"
07-24-2013 10:12 AM
I reinstalled and i see that the "MAX" session have only the 2009 version of LabVIEW. I have the 2012 and this is possible an error on installer pack