Jump to content

As of July 17, 2015, the LabJack forums here at forums.labjack.com are shut down. New registrations, topics, and replies are disabled. All forums are in a read-only state for archive purposes.

Please visit our current forums at labjack.com/forums to view and make new posts. To post on the current forums, use your labjack.com login account. Your old LabJack forums login credentials have been retired. There are no longer separate logins for labjack.com and LabJack forums.


Photo

error 22 labview


  • Please log in to reply
2 replies to this topic

#1 idans

idans
  • Members
  • 6 posts

Posted 30 October 2014 - 06:32 AM

hi

i use ljstream.vi to aquire signal from 1 channel. i change the code in the example as seen in attached pic so,

num of chanels is 1 and the channel name and gain arrays size is 1. when i run it i get error 22 getting from ljstream start vi. 

the scan rate is 100hz same as in original example just then the number of chaanels was 4.

what is the problem?

Attached Thumbnails

  • error code22 labjack.jpg


#2 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 30 October 2014 - 07:52 AM

That U12 error means illegal scan rate:

 

http://labjack.com/s...sers-guide/4.40

 

... but based on your description I am not sure why you are getting that:

 

http://labjack.com/u12/datarates

 

Please open the front panel of the AIStreamStart sub-vi, and then do an Alt-PrintScreen so you can send us a screenshot of that window showing the values you passed in and the error out.



#3 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 30 October 2014 - 07:55 AM

... actually you can see here that the valid range for sample rate is 200 to 1200 samples/second:

 

http://labjack.com/s...users-guide/4.8

 

4 channels at 100 scans/second is 400 samples/second, so good.  1 channel at 100 scans/second is 100 samples/second, so invalid.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users