LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sensirion sht7x labview

Hi, I am using a sht15 for my experiment and a TBX 68 terminal box DAQ. I feel liek I am missing something. Can somebody point out please.

0 Kudos
Message 51 of 85
(2,603 Views)

I think you have to specify what you want to do and what you have tried so far and what does work and what not...

0 Kudos
Message 52 of 85
(2,589 Views)

Sorry about that incomplete information. Well I want to log in RH and humidity data for a  test for which i am using the sensirion sht15. I am using the digitaI I/O channels on the TBX-68 terminal box. And i used the library files that posted in this discussion, the VI doesnt return any error but the error handler returns an error. My primary concern is , I hooked up the data i/o wires and tthe clk wires to the digital channels on the TBX terminal box digital I/O, is this wrong? 

0 Kudos
Message 53 of 85
(2,582 Views)

As long as you specify those ports on the VI, it should be ok. You can verify that the line is being driven by LabVIEW by hooking up an oscilloscope to the data and CLK line.

0 Kudos
Message 54 of 85
(2,580 Views)

The TBX-68 is just a terminal box... you need to look at the DAQ card to which it is connected. You should probably also post the error that the error handler returns...

 

One thing to watch out for is to make sure that whatever card it is can support the tri-state property (which means that it can read and write on the same pin). If it can't you can connect the data line to 2 pins and re-write the program to read from one and write to the other (I believe the original code worked this way). I'd guess most newer cards can do this without problem, but some older ones might not.

0 Kudos
Message 55 of 85
(2,573 Views)

Okay. the DAQ card I am using is PCI-MIO-16XE-50.

 

 

 

The error being returned by teh error handler is :

DAQmx Create Task.vi:3<append>
<B>Task Name: </B>Clock

0 Kudos
Message 56 of 85
(2,567 Views)

I don't know what you just attempted to do but the error message is incomplete. Just post the actual error code.

0 Kudos
Message 57 of 85
(2,561 Views)

Hi,

 

This may actually be a silly question, but may I use a SHT75 connected right to the Serial Port?

 

If it works, how does it work on LabView?

 

Sorry if this is stupid, but I have almost no experience with this.

 

Thanks!

0 Kudos
Message 58 of 85
(2,372 Views)

Hi,

 

This may actually be a silly question, but may I use a SHT75 connected right to the Serial Port?

 

If it works, how does it work on LabView?

 

Sorry if this is stupid, but I have almost no experience with this.

 

Thanks!

0 Kudos
Message 59 of 85
(2,372 Views)

Hi,

This is not a silly question, but it also doesn't have a simple answer. There is certainly no easy way to make this chip work with the RS-232 serial port on your computer. If you are very clever, you might be able to control the port at the pin level to make it work, but this will not be an easy task. It would probably be easier with a parallel port, though still not simple if you have no experience in this sort of thing.

 

Given that you can buy a digital I/O card (like the USB 6501) for <$100, your time would have to be pretty cheap to make it worthwhile to try getting it to work over serial.

 

cheers,

mike

0 Kudos
Message 60 of 85
(2,352 Views)