LabVIEW Error #1007: Error 1007 occurred at OpenAny | LabJack
 

LabVIEW Error #1007: Error 1007 occurred at OpenAny

4 posts / 0 new
Last post
PaulSn
paul.sneed's picture
LabVIEW Error #1007: Error 1007 occurred at OpenAny

when I open LJstreamUD and try to read my UE9 over IP I get "LabVIEW Error #1007:  Error 1007 occurred at OpenAny".also when using LJcontrolpanel to set/verify ip settings, it would not find the ue9 until I added the IP into the "find IP" list.

causes?.

thanks.

-------------

UD Driver Version: 3.47 - Up To Date

comm f/w:1.580

ctrl f/w: 2.260

LJCP:2.33

JLstreamUD:1.19

LabJack Support
labjack support's picture
I was curious why you got the

I was curious why you got the message "LabVIEW Error #1007", when it seemed like you should have got "LabJack Error #1007", so I looked at the utility VI "OpenAny.vi" and found the problem.  There is a False case structure that sets the errorcode to 1007 when it should set it to 7007 (6000 is added to LabJack errorcodes in LabVIEW to put them in LabVIEW's user defined errorcode range).  After fixing that the message you would get is:

LabJack Error #1007:  LabJack not found occurred at ...

Sound like you have troubleshooting issue #5 here:

https://labjack.com/support/app-notes/basic-networking-troubleshooting

So for LJStreamUD you can edit LJStreamUD_open.cfg so that rather than:

[Main]
DeviceType=ANY
ConnectionType=ANY
Identifier=ANY

... it has:

[Main]
DeviceType=LJ_dtUE9
ConnectionType=LJ_ctETHERNET
Identifier=192.168.1.209

If you are using LabVIEW or any other programming language I suggest that rather than use the OpenAny utility VI use OpenLabJackS and pass the specific parameters so it does not have to search:

DeviceType = LJ_dtUE9
ConnectionType = LJ_ctETHERNET
Address = 192.168.1.209 (or whatever IP your UE9 is set to)

bradleyr
bradleyr's picture
I have the identical error

I have the identical error message when trying to use LJLogUD with a U3-LV. Could you please provide the syntax to edit LJLogUD_open.cfg for a USB connection?

LabJack Support
labjack support's picture
For more information about

For more information about opening in LJLogUD, see "Device Type & Address (Opening)" here:

https://labjack.com/support/software/applications/ljlogud

For a specific USB open of a U3 do:

[Main]
DeviceType=LJ_dtU3
ConnectionType=LJ_ctUSB
Identifier=1

Identifier should be your local ID or serial number.

Note that search always works for USB, so if you have a U3/U6/UE9 connected by USB and LJLogUD is not opening it I would suspect a different problem.  The most common problem is that some other process has already claimed the device's USB connection.