Jump to content

Megavolt

Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Megavolt's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. With just a quick look I say it is averaging the last three readings.
  2. There are no termination characters and no hardware hand shaking, just nine characters and a pause. The last character is a "CHECKSUM + 0x57". It is said that the documentation is incorrect and it is actually decimal 57 (0x39). I found a method that takes a sliding 9 bytes and computes the checksum. When the checksum is good the packet is passed out of the function (VB). I am going to give this method a try and report back.
  3. I figured out one way. There are no characters between output strings, just a delay. I am doing a fast read and taking the 9 characters after blank read. If there are other methods or ideas I would like to try them.
  4. Just had this problem today. The instrument was sending extra messages which would be in the read buffer when went to read the number of characters I was expecting for a response. I turned off the messages, but I was still having the same issue you are having. I used the FLUSH READ BUFFER before every Command write and response read and have not had a problem.
  5. OK, I got the meter for Christmas (RS22-812). It seems to spew continuous readings at about 4 per second with no apparent way to tell where one ends and the next begins except a small time pause. All my previous instrument experience is with equipment that answers to a response. Any ideas on how to pick the current reading out of the stream of bytes?
  6. I saw this video earlier and started with the concept of using MIDI. I would open a MIDI file, look at the notes, and send notes to Windows media player (MIDI module) while turning on/off channels in a DIO card. After some research it seems that very little work has been done in LabVIEW with MIDI and the interface to Windows Media player is not very supportive to MIDI interface. I will continue working on opening and parsing a MIDI file in LabVIEW. My only thought at the moment is to send MIDI commands to an external instrument. If anybody else has ideas it would be great to hear them as the first thing people at work asked when they saw the video was "Hey can you do that in LabVIEW?"
  7. Used the Readme link above. Answer a few questions and download starts. Downloading it now... :thumbup:
×
×
  • Create New...

Important Information

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