08-06-2005 01:51 PM
08-08-2005 05:28 PM
Hi Tom,
I’m afraid I don’t have an answer offhand. I am curious about a couple of things though. First, were the
Regards,
Chris J
08-08-2005 09:02 PM
08-09-2005 05:22 PM
Hello Tom,
You are correct. Sorry for my sloppy wording. Multithreading is something the PC does. For a driver or program to work in multiple threads it has to be thread safe. I was just wondering, if you were using an non-NI driver if it was threadsafe. Also, could you give us some more information on the following:
OS
DAQ board
Driver version
Traditional DAQ calls or DAQmx
Thanks!
Chris J
08-11-2005 12:12 PM
08-12-2005 11:51 AM
Here is the info for my set-up:
OS: Windows 2000 Professional
DAQ Board: I am trying with both IOtech's DaqBoard/500 and NI's PCI-MIO-16E-4.
Driver version: Not 100% sure but seems to be NI-DAQ 7.4; I need to go back to the lab to check. I will let you know if it is not correct.
Tranditional DAQ calls or DAQmx: don't understand what you need...
Sounds like a function from a DLL generated by LV may or may not work in my VC program depending on what DAQ board I use. Is it what you mean? I think I don't fully understand why. So, if you can explain the reason, I would appreciate it. If I better understand the reason and how to find which board to use, I can try with some other DAQ board I have. Thanks.
Tom
08-12-2005 12:02 PM
08-12-2005 12:02 PM
08-12-2005 12:04 PM
08-12-2005 01:46 PM
I will try something based on your advice. But one thing is not clear in my mind. As I mentioned, I could make a function from a DLL generated by LV work in both main and second threads. How, then, does the function in the second thread work without doing anything for the "UI thread" issues? How would this DLL be different from the DLL that uses a data acquisition board?
Tom