Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Unable to Use DAQmx_Val_SynchronousEventCallbacks in Non-Windows Operating System

Primary Software: Driver Software>>NI-DAQ
Primary Software Version: 4.6.1
Primary Software Fixed Version: N/A
Secondary Software: LabWindows/CVI Development Systems>>Full Development System
Hardware: Multifunction DAQ (MIO)

Problem:
Why do I receive a run-time error when I use DAQmx_Val_SynchronousEventCallbacks as the uInt32 options parameter in my DAQmx C API function with a non-Windows operating system?

Solution:
DAQmx_Val_SynchronousEventCallbacks cannot be used when running an application on a non-Windows operating system. 

When using an operating system other than Microsoft Windows, DAQmx_Val_SynchronousEventCallbacks cannot be passed as the uInt32 options parameter in DAQmxRegisterDoneEvent, DAQmxRegisterEveryNSamplesEvent, or DAQmxRegisterSignalEvent functions available in the DAQmx C API. 

If you attempt to use DAQmx_Val_SynchronousEventCallbacks with another operating system such as Real-Time or Linux, you will receive a DAQmxErrorCAPISyncCallbackNotSupportedOnThisPlatform error.



Related Links:

Attachments:





Report Date: 07/16/2008
Last Updated: 07/21/2008
Document ID: 4NFE5MCZ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit