Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring and Connection for D I/O

Hi,
 
I need advice on configuring the LCD through the D I/O.
 
My current situation is, i am to display readings on the LCD measured/recorded by the compact field point. I'm now stuck at whether should i first use a PIC to drive/control the LCD or can i have direct connection between the D I/O and the LCD and program it through LabVIEW. Is this possible? How should i go about it.
 
Another connection that i have to deal is the pushbuttons and toggle switches. Can they have direct connections as well?
 
All these items are to be place on a front  panel.
 
Thanks!
GoodDay!!
0 Kudos
Message 1 of 11
(5,547 Views)

No info on your LCD makes it hard to suggest anything. What do the specs sheets define for drive and data signals? A link to a datasheet would help.

On the pushbutton/toggle switches, are you talking about real switches as opposed to controls on the front panel? Real switches are easily connected to digital inputs, look at your DAQ card manual for example connections.

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 11
(5,536 Views)

Hi,

the datasheet that I have for the LCD only state the properties of the LCD like the voltage, current and pin 1 to 16 designations. It has not much info. My LCD module is TC1602A-01. What I can get from the website, http://www.tinsharp.com/en/products.php?page=4&myNav_class[0]=4

do i have a PIC to drive the chip? can i configure directly the LCD through LabVIEW? I can use LabVIEW to program the LCD right?

 

As for the pushbuttons and switches, for the connection part, im aware that i can have direct connections following the D I/O manual. But do i have to configure anything before it is applied in to LabVIEW, as in like any settings that I have to set before using LabVIEW to program.

 

Thanks!

 

0 Kudos
Message 3 of 11
(5,509 Views)

Hi,

can anyone advice on this? much help needed...  thanks!

0 Kudos
Message 4 of 11
(5,484 Views)
crazyKing,

Please tell me what DAQ hardware you are currently working with.  This isn't so much a question of LabVIEW as much as your hardware.  If your hardware can do it, LabVIEW can do it.

Best Regards,

Jeff Tipps
Applications Engineer
Message 5 of 11
(5,473 Views)
Hi,

thanks for the reply.

I have acquired the Compact FieldPoint-2120, Strain Gauge Module and 2 modules of 8channel D I/Os. I'm currently working on data logging. I'm suppose to display the results/measurement by the cFP-2120 onto the LCD and the number is suppose to be fluctuating from different ranges up to 10,000 Newtons. I have a 16x2 character LCD module(not from NI). I'm aware that I need to initialize the LCD but I'm not sure of where to start from. Can I initialize with LabVIEW or I have to use another programming software to initialize or act as and driver for the LCD? I heard that its almost impossible to use another program to embed into LabVIEW.

As for the LCD, if its possible to use just LabVIEW, do I use binary codes to configure the displaying numbers through direct connection off the D I/Os?

Thanks!

Cheers,
K
0 Kudos
Message 6 of 11
(5,466 Views)
Hi Crazy King,

This all depends on how the LCD. How are you supposed to cotnrol it? Most LCDs will let you use either RS-232 or RS-485 to control it. If you have to use straight DIO, you should be able to do this with the FP module if you want. You just need to know the correct protocal. This will be found in the manual for that particular LCD. In either of these 3 cases, you should be able to use LabVIEW with no problems to control that LCD. Could you possibly post the model number/manufacturer of that LCD?

Thanks!
Matt S.

LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.
Message 7 of 11
(5,438 Views)
Hi,

this the only datasheet I have for the LCD. http://www.tinsharp.com/en/products.php?page=4&myNav_class[0]=4

Now that you have state that I can use the D I/O to program, it answers much of my question.

After some research, it seems that LCD HD44780 is quite compatible, I'm banging my luck to configure the LCD using the manual. I'll be trying out on the programming part through LabVIEW and hopefully like what you've said that connection straight from the D I/O should not be a problem.

Thanks for your help!

Cheers,
K
0 Kudos
Message 8 of 11
(5,433 Views)
Hi K,

Best of luck programming that LCD. If we can be of any more assistance, just let us know!

-Matt S.

LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.
Message 9 of 11
(5,400 Views)

Hi,

im using boolean to program the LCD but now, it looks like initializing the LCD is a problem for me. Anyone can help me on that?

Thanks!

 

Gooday!

0 Kudos
Message 10 of 11
(5,302 Views)