LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with Digital input from DAQ card

Hello
 
I need help in getting the attached vi to work properly. As is the vi will run with the :traditional DAQ channel" but I get no data. I have verified my setup with an example.
 
If someone could look at the vi and configure it to work properly, it would be great.
 
Thanks soooo Much
0 Kudos
Message 1 of 9
(3,020 Views)

There is a missing subvi, "Burps to CUFT Co2.vi"

By the way, what exactly do you wish to perform using DAQ in your VI?

Try describe your application, and one of us here might be able to address your problem(s).

Cheers!

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 2 of 9
(3,018 Views)
Hi Thanks
 
Im using the PC-DIO-24 old DAQ card to monitor the on/off of a relay on a Dwyer Photohelic pressure switch. Its monitoring beer fermentation. Every "burp" (on/off 5v) of the airlock will be counted and since the volume of the airlock is known then the CuFt of CO2 will be displayed.
 
Here is the sub-vi
 
Also I would like to take the same vi and use it to monitor my cooling fridge on/off cycles and thus power usage.
 
 
Thanks so much
0 Kudos
Message 3 of 9
(3,016 Views)

I am extracting part of the codes from my 6025E Traditional DIO control for your reference.

Not sure if it works (after extracting) but I hope this will gives you a clue or two.

Regards,

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 4 of 9
(3,015 Views)

Im sorry but Im a total beginer to Labview. Can you just look at my vi and make the corrections? I have beer fermenting and would like to get this working.

 

Thanks for your understanding

0 Kudos
Message 5 of 9
(3,012 Views)

I got your vi to run and it showed the channel go green then grey as I switched the physical on and off. But how do I get it to work with my vi?

 

Thanks a bunch

0 Kudos
Message 6 of 9
(3,007 Views)

Hi

First of all, outside the while-loop, the DIO port(s) need to be, first, configured to as Input port(s).

By passing it, to the while-loop, the Task ID(s) of the configured ports, you may use the read function (in the while loop) to perform DIO line monitoring. Use its boolean output status to perform necessary task(s).

My apologies but I will have to log out now 😞

Hope you will get it to work. Someone else will be able to continue to help you from here.

Best regards,

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 7 of 9
(3,007 Views)
Im sorry Im not even close to the level your talking. Thanks for your help.
 
This is very fustrating for me, since I dont know or understand the details of Labview.
 
My mind isnt set up for this kind of thinking.
 
I just need someone to fix my vi for me. Please
 
Thanks
0 Kudos
Message 8 of 9
(3,004 Views)
trimixdiver,

It is not our policy to develop customer code, but it looks like you are getting some pretty good help on these forums. If you need a little help starting to program in LabVIEW, please let me suggest the LabVIEW getting started guide. In LabVIEW, go to "Help," then "Search the LabVIEW Bookshelf." From here, click on "Gettinst Started with LabVIEW." This tutorial should give you the ability to combine all the suggestions by forum members into your application. Finally, if you'd rather just pay someone to do the work, you may be intersted in our Alliance Program - http://digital.ni.com/productpages/nialliance.nsf/main?readform.

Good Luck!
Ryan Verret
Applications Engineering
National Instruments
http://www.ni.com/support
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 9 of 9
(2,974 Views)