Jump to content

mandya14

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by mandya14

  1. Thank you for your replies.:)

    Osvaldo i didn t understand what u did ? i am sorry....U think maybe i can save the value of my boolean indicator to a local variable and each time compare it to the new value?? like comparison of an old and the new value? if they are the same i don t read if they are different than i read...I don t hink i will have race conditions...

    Can u please explain how u handled ur event handling??

    ShaunR the problem is that i already have the iUSBDAQ HYTEK as an interface and i am reading digital input from it but thank you

  2. I have downloaded all the iDAQUSB Hytek drivers and vi's and even tested the idaqtest&log.

    I have created my own vi where i read continuously Data from digital DIO(channel 9-16) and save them successfully in my database.

    I have a micro controller-encoder-transmitter and on the other side a receiver-decoder-Hytek-PC

    The micro-controller is sending a 255 header followed by 14 bytes each for a different sensor. The problem i am facing is that i need a some sort of trigger to only read when change of state so that the one byte don't overwrite the other. in my case my hytek is reading 255-255 for all my data.

    I need it to read only when it s triggered so i don t have overwrite.

    Can i use the trigger input for digital input as well?? i was thinking about connecting the trigger input to the vt(trigger) of the receiver. but i dunno if it will work on labview.

    I am enumerating...opening session...read/write IO and closing the devices each time. but i need it to read each time i send a new byte. how can i do that?

    i would appreciate any help.thank you

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.