NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
mnemo15
Posts: 42
0 Kudos

Trigger AO problem

Dear all,

Sorry for this (probably) stupid question but I would like to trigger an AO signal with a PFI (which is a pulse signal obtained from a camera). When the PFI is Up, the AO signal should go to a certain voltage (between 0 and 5V) and go back to 0 when the PFI signal is down (see in attached). But I am getting this message error : 

Error -200693 occurred at Untitled 1

Possible reason(s):

Buffer size (in samples per channel) multiplied by the number of channels in the task cannot be an odd number for this device.

Adjust the buffer size or the number of channels in the task so that their product is an integer multiple of two.

Property: Output.BufSize
Corresponding Value: 1

Property: NumChans
Corresponding Value: 1

 

I understand that the Buffer size should be a multiple of 2 but I do not understand how to get it. Could you help me.

Thanks

Member
mnemo15
Posts: 42
0 Kudos

Re: Trigger AO problem

Here is the vi

Active Participant
Romain_Duval
Posts: 533
0 Kudos

Re: Trigger AO problem

Hi Mnemo,

 

I answered on your double post. Please for next interaction choose one of them.

 

Best regards,

Romain DUVAL Certified LabVIEW Developer/ Certified TestStand Developer
National Instruments France


TÉLÉCHARGEZ dès maintenant TOUTES LES PRÉSENTATIONS TECHNIQUES !
Merci aux 1155 visiteurs qui sont v...

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page