Hi all,
I've recently wrote a programme in LabView 8.0 32-bit using an NI-DAQmx (USB-6210) and then built the executable application in the same folder where all the subVIs and .lvproj files are and the executable runs smoothly (let's call it Folder 1). I plan to run the executable on different PCs as well, so I built a second executable in a different folder (Folder 2) (with a global network address for eg H:\) as I plan to later move that executable into the C:\ of the target deployment PC.
However, when I try to run the executable in Folder 2 from my current PC, it doesn't work. After troubleshooting,
1) it looks like there seems to be a problem with communication with the DAQmx. When I wired an error indication, I get the error below:
Error -229771
DAQmx Create Channel (AI-Voltage-Basic).vi:1780001<append>
<B>Task-Name: </B>VoltageRead
2) I understand from similar problems on the forum regarding running executables on different PCs that it could be the NI MAX or Labview Run-Time configuration (I'm pretty sure I will run into that problem later on as well lol) But right now that shouldn't be the issue since I'm still using the development PC to attempt to run the build.
3) So far, I've tried building yet another executable with the same network address (C: ) ie the desktop and it works fine as well so I've concluded it's something to do with the different network address.
For info: the communication to DAQmx is the bog standard Create Channel > Create Task > Read etc. There's only one USB-6210 so I didn't put in all that 'Find Device first' property nodes....
Maybe someone has an idea how to overcome this? Thanks a lot in advance!
tl;dr: Executable works fine when built in different folder locations within the same network address, but not when built in a different folder with a different network address despite executing from same laptop because there's a problem with the communication to the DAQmx