03-02-2007 12:07 AM
03-04-2007 11:36 PM
03-05-2007 11:04 AM
Hello,
What version of SIT are you using?
03-07-2007 10:40 AM
03-08-2007 05:07 AM
Hi Carl,
I tried to connect the TaskIn ip terminal in Create Channel then i am getting Error.No: 200147 "There Can't be Multiple counters in the same task for input operations" . This logic is working for other Operations like Multiple Channel Digital Input configurations.. etc
We are using SIT 3.0.2 version.
Any idea on this,,,
03-09-2007 02:47 PM
Hello Naveen,
I was able to return both references by wiring the Task In terminal in the "0" and "Default" cases. I left it unwired in the "1" case. I did not receive any error. I suggest you try this and see if it is what you were looking for.
Cheers,
Emilie
Applications Engineer
03-11-2007 12:41 AM
Hello Emilie,
In that case i am getting same values(i.e pulse width value only) in both indicators, but i should get Pulse width & Frequency.
R u able to read PulseWIdth & frequency ?
CHeers
naveen
03-22-2007 03:45 PM
Hello Naveen,
Sorry for the belated response. I've been working on this issue since your last post.
The error message you were receiving (200147) actually gave a great clue as to how to configure your SIT vi's to determine both pulse width and frequency. It seems you must create a separate task for each counter feature. As such, you'll need to add an additional task to the typedef. In addition, you'll need to modify the Init.vi that will actually create this extra Counter task to the initialization code. You'll have one created for Frequency and the other for Pulse Width. Be sure to close the extra task in your Close.vi as well.
I've attached a simplified version of the Init.vi and Ref.ctl that might help better explain the changes that I've suggested.
I imagine might be other subtle changes you'll need to make to the SIT vi's as well. For instance, you'll now need to DAQmx Read.vi's in your SIT IO Read.vi. Essentially, any instance where you were referring to the one Counter task, you will now need two of. Hope this helps.
Cheers,
Emilie | Applications Engineer
04-02-2007 05:29 AM
04-03-2007 03:17 PM
Hi,
Rather than look at these previous vi's, I think it would be best to use the SIT example vi's located in the multidaqexample_IO.llb (Program Files>>National Instruments>>LabVIEW 8.0>>examples>>Simulation Interface). The daqmx vi's are polymorphic, so in the Initialize vi, select the tasks to be digital.
You might also review the DevZone article that discusses Using DAQmx with the Simulation Interface Toolkit. You should be good to go from here.
Good luck!
Emilie Kopp | Applications Engineer | National Instruments