02-20-2024 10:27 PM
Hello everyone.
I signed up hoping I might get a little guidance and maybe even learn more about how NI usb daq modules work.
I'll refer to the modules as usb daq but they are NI usb 9162 usb carriers with NI 9234 daq units in them.
So I have a laptop and usb daq measuring a low frequency (<50hz). Works fine.
Here's the complications.......
Now it's set up remote. Laptop to ethernet to 2.4ghz radio.
That's the remote station. The laptop has usb sharing software on it.
On the other end (base station) the computer has the usb sharing software. So I can mount the remote usb daq for use, and the proprietary software sees it and starts running. However, after 2 to 20 minutes program has usb errors and crashes.
If I open LabVIEW on base station computer, I can create a task to display curve of voltage of the remote usb daq and it will run all day long without issue.
So here's my question, is there a way in NI max to take the task that receives the data flawlessly, and create an output or pass-through or something?
I tried creating an emulated usb daq and the software sees it and doesn't crash.
I just need to find a way to push the data stream that the real usb daq receives into the emulated one.
I hope I explained it clear enough. .
This is my first hours using LabVIEW/NI max.
I have used qbasic/qb64 to connect to serial and rs485 sensors and make monitoring programs but this is a different thing altogether.
02-21-2024 10:22 AM
Instead of trying to emulate USB on the "main" computer. Run everything on the "remote" computer and send just the data to the "main" computer.
02-21-2024 04:41 PM
The main computer has several other connections so it has to stay where it is. I think I already thought of every possible way this could work and the only solution is remote daq over ethernet/wireless