Errors in Creating Virtual Channel

I am creating a IVI switch driver. The driver passes the IVI Specific Driver Suite 2.2 and IVI Switch SFP testing. When I try to create the virtual channel the device is found (created IVI Logical Name and other fileds) but the channels displayed are empty on the Channels/Exclusion tab. What calls are made when creating the virtual channel? I want to create a CVI or TestStand program to simulate the sequence that Switch Executive performs.
When validating a configuration, are all possible channels used in SetPath loop? As an example, if three channels are defined (Front, rear, & base) but only the front->base, rear->base, base->front and base->rear are valid configurations. Will the vaildate try a front->rear configuration? Will a disconnect call be placed in between each SetPath call?
Thanks.
Randy

Randy,
Although you cannot step through the NISE engine, you can step through your driver's code and debug its behavior. If you have problems with importing IVI virtual name into switch executive virtual device, then what you need to do is select nimax.exe as the process to debug and run it with the debug version of your driver. If you were using CVI, you can set the external process under Run>>Select External Process. If you're using MSVC, you can choose "open project" and browse to nimax.exe and then add symbols for your driver DLL in the project settings.
The entry points to monitor (for your particular problem) are the ones that deal with getting the number of channels and getting individual channel names and their attributes. Make sure that your driver returns the correct number of channels and that it also returns all these channel names correctly. If you see no error in switch executive (I.e. it just says OK after you import your ivi logical name), then my guess is that your driver returns 0 for the number of channels.
Please be aware that switch executive exercises much more than any of the IVI clients you mentioned. Yet it does not go "through the back door" for anything, it (obviously) uses public entry points in the driver to perform what it needs to do.
So, you can start by setting up debug project in your favourite environment, and check the behavior of the following functions in your driver:
getting the IVISWTCH_ATTR_CHANNEL_COUNT attribute
IviSwtch_GetChannelName (with your prefix, of course)
and see if those work. My guess is that something is not working correctly between these two functions.
Let me know
-Serge
Srdan Zirojevic

Similar Messages

  • Daqmx Create Virtual channel timeout

    Why almost a minute and a half to get an error message from daqMX Create Virtual channel VI.
    I need to find a way to have my executable bleep immediately if the underlying drivers are not installed.
    For example, I have LV at home and supposedly have the drivers installed too but no hardware connected.
    Sometimes I run a that uses daq, however when it encounter Creat Virtual Channel VI it appears to hang for a minute and a half before finally giving an error.
    Anyone else been there, done that?
    Thanks

    Thanks for replying D-cubed.
    Actually Im calling create virtual channel in a state machine to set up the data acquisition.
    When using on a machine that has a daq device installed its a piece of cake.  no sweat.
    However, when I am at home I have LabVIEW but possibly either no daq drivers or no daq hardware.
    I believe it may be the second case since I can place a task on the BD so, I will assume the drivers are installed correctly.
    There is just no daq hardware in the system.
    WHen the create virtual channels Vi is called the PC appear to hang because that VI is executing internally (looking for a device I presume).
    The timeout takes 1.5 mins and if not for me waiting the PC would appear to be hung up.
    Finally some 'Mig error' message appear contact Ni about and so on.
    WHat I am trying to do is have my program error out immediately instead of 1.5 mins later that there is no Daq device in the system.
    Thanks again

  • SCXI - Error when creating virutal channel in Daqmx

    Hi All,
    I am in the process of upgrading our measurement system to labview 7. I uninstalled Labview 6 and then installed labview 7. In MAX our SCXI is verified and confirmed.
    In my program when I try to create a virtual channel using the DAQmx Create Virtual Channel.vi I get the follwoing error:
    Code: -200220 - Device Identifier is Invalid.
    I use the following physical channel string:
    SC1Mod1/ai0
    I can't find any information on the error code. Please Help!!
    Regards,
    Setu.

    Setu,
    Indeed, this is quite puzzling. I have a few items to try. To use the DAQmx Create Virtual Channel.vi, your chassis needs to be verified under "NI-DAQmx Devices" (NOT Traditional NI-DAQ Devices) in MAX. Once you have confirmed that, the "physical channels" input should self-populate with a list of available channels. Check the filtering of the names if it does not show up. Hope this helps.

  • Why do we get so many vi's when using "DAQmx Create Virtual Channel.vi​"?

    Hi there,
    Could anyone explain me why we get hundreds of sub-vi's when I use the
    vi "DAQmx Create Virtual Channel"? This can easily be seen by exploring
    the hierarchy of Labview examples such as "Acq&Graph Voltage - Ext
    Clk.vi"???
    This multitude of vi's considerably slows down my computer, especially at loading. Is there any way to get rid off that???
    Thanks in advance for you help!
    Jonas

    Hi,
    the easier you have to program, more subVI´s needed for your kind of application. Because the VI´s from DAQmx are polymorph, so many SubVI´s are included in the VI´s. In traditional DAQ you have several palettes for each kind of measuement method. Analog In, Analog Out, Digital, Counter, ...! In DAQmx you have one VI and that can all.
    But, the performance of you application at runtime is not affected. Of course it takes some time to load, but just at development environment not as an application.
    Figure 3. Polymorphic VIs simplify the NI-DAQmx API.
    Link to Document:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/EE​47B125BB9E053686256FBC0014C384
    Hope this helps.
    Alex
    NI Switzerland

  • Do I really need to create virtual channels in data neighborhood in order to access my pci 6034E?

    Hello all,
    This may sound a little weird, but I would like to know how to configure my 6034E without having to create virtual channels in data neighborhood. Reason being, the data is often lost when users update or search for new instruments in Measurement and Automation.
    I have tried using the AI CONFIG.VI, which gives me all the attributes I need...set channel name, device name, device channel, input mode, sensor/actuator type ect..  When I connect the AI READ.VI the value read back is incorrect. Matter of fact as an exapmle, the power supply could be off and I still read 10 Volts. But when I have created a virtual channel in data neighborhood, the data read back is correct.
    Is there another way to read back data but not have a virtual channel in the data neighborhood?
    Thanking you in advance,
    Demo

    Duplicate post

  • What does DAQmx Create Virtual Channel (TEDS AI Accelerometer) actually do?

    Hi all,
    I have a basic vibration logging application for which I'm using TEDS enabled accelerometers.  I'm configuring a task using the Create Virtual Channel (TEDS AI Accelerometer) to add the correct channels, but none of the data from the TEDS table appears to be getting pulled into my channels. 
    Does this VI pull scaling information from the TEDS such that the values I read out are scaled to the appropriate unit?  Is there a way to force it to drag all the data from the TEDS through so that when I save a waveform to a tdms file they end up as channel properties?
    I've included a screenshot of the VI that creates the task for reference.  Thanks!
    CLAD
    Solved!
    Go to Solution.
    Attachments:
    Create TEDS channel.jpg ‏100 KB

    They are TEDS 1 accelerometers.  I can actually see the entire TEDS table both in MAX and in my code (I read out the bitstream for my own amusement). 
    To collect the data I'm using a DAQmx Read N Chan N Samp - 1D Waveform.  The output waveform array is wired directly to a TDMS write VI.  The properties on the channel end up as shown in the attached image; note that no scaling information is carried thorugh.
    CLAD
    Attachments:
    AccChannel Properties.png ‏37 KB

  • DAQmx Create Virtual Channel AI Temp TC Deg F Bug

    Found a bug in DAQmx Create Virtual Channel AI Temp TC Deg F when using a cDaq-9174 with a NI 9213 Analog Inpout module.  When I change from Deg C to Deg F I do not get the correct temperature.  In Deg C I read ambient temp of 21.84 Deg C Vs. when I select Deg F I read 18.33 Deg F.   When I use the DaqMX Assistant the asssitant returns the correct values.  Is this a know bug on the 9213 driver?  What is the fix?
    Solved!
    Go to Solution.
    Attachments:
    Read one AI Temp Channel in C or F.vi ‏13 KB

    Thank You - Found it here too

  • Error 18 creating virtual circuit

    I am get the "error 18 creating virtual circuit" it is happening about 10 or 12 times then goes a way. I assume that I am running out of a resource, but which one?

    This is on a 9i 9.2.0.4 with the security patches.

  • Comment définir 12 lines digitals ( 8) pour la fonction DAQmx Create Virtual Channel

    Bonjour, je voudrais demander l'aide pour deux points suivants:
    1 /J'utilise une carte PXi 6537 pour pouvoir faire une acqusition de 12 lines digitals, mais quand je choisis 8 lines du port0 avec 4 lines du port1 pour connecter avec la fonction DAQmx Create Virtual Channel, il y a toujours l'erreur. veuillez m'indiquer comment faire entrer 12 lines dans cette fonction s'il vous plait. (J'essaie avec ces configuration mais cela ne marche pas: Dev1/port0/line0:7_Dev1/port1/line0:3 ou Dev1/port0_port1 ou Dev1/line0:11  etc...etc...)
    2/ Dans cette utilisation, je voudrais utiliser la ligne  0 digital comme l'horloge externe, donc avec la fonction DAQmx Timing, j'indique la source d'horloge externe comme /Dev1/PFI0 et soit je connecte physiquement la voie Dev1/port0/line0 vers le borne PFI0 soit je fais le routage par logiciel de Dev1/port0/line0 vers PFI0, dans ce deuxième cas comment je dois faire , par quel noeud propriété qu'il faut utiliser.
    veuillez montrer ces deux solutions par une figure simple s'il vous plait, je vous remercie beaucoup et vous souhaite bonne semaine. TuongLinh.

    Bonjour,
    Et merci d'avoir posté sur ce forum.
    Je ne suis pas sûr de ce que vous voulez faire en rebouclant logiellement une des sorties numérique de votre boitier. Vous pouvez néanmoins accéder à davantage d'entrées/sorties en faisant un clic droit sur le terminal de l'horloge externe pour laquelle vous avez choisi /Dev1/PFI0 puis en cliquant sur "Filtrage du nom d'E/S...".
    Cochez alors les différentes cases pour avoir le plus de choix possibles puis utilisez une ou plusieurs sorties de compteur pour générer l'horloge dont vous avez besoin.
    Cordialement,
    Jérémy C.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • I can't find "DAQmx create virtual channel.vi"

    How can I convert a "Channel" to a "Signal" ?

    If you have installed the NI DAQmx Device Drivers, In LabVIEW, you will find this function in the location shown in the pic attached
    How can I convert a "Channel" to a "Signal" ?
    You cannot!
    Gramatically and Electronically, you can only 'read or write'  a signal on a 'relevant' channel
    Attachments:
    DAQmx_ Create Virtual channel.PNG ‏50 KB

  • DAQmX create virtual channel execution time

    Hi,
    I am using DAQmX Create Virtual Channel for 70 different Digital Output. It took 35 seconds to execute the DAQmX Create Viryual Channel VI.
    What are the steps to make the execution faster.
    Valliappan.M

    Have you tried creating a global virtual channel with MAX?
    André
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • How can I creat virtual channel and traditional devices while my card installed,I can not do?

    I installed PCI-6220 card,and I also installed DAQmx and Traditional DAQ in my computer,
    but I cannot creat virtual channel at the last step(attachment:TDAQ6220.jpg).
    Maybe this is the reason I didn't creat traditional NI-DAQ Device,but I can not creat it.
    (see attachment: DAQ Device.jpg,there is no PCI-6220 on list).
    What's wrong?What shall I do?
    Junwei You

    Hello Rainer,
    You can see this attachment(6024E.jpg),the 6024E card appears on Traditional NI-DAQ Devices,
    but I don't know how can it be created(I don't creat it,we buy the whole system together with the machine).
    I tried create a new traditional Device(I want to confirm 6024E), but still I can not see any NI-DAQ device in traditional NI-DAQ device
    lists. See the 'Create New....' interface.How can do it?
    Thanks!
    Attachments:
    6024E.JPG ‏128 KB

  • Error 10403 in Virtual channel Test Panel, but test pannel for device works fine

    I am using a simple 10x probe attatched to the NI5112 PCI card. When the device is tested under the devices and interfaces part of MAX, I get the scope input, when I test the virtual channel for the scope, i get error 10403. How can i resolve this?

    The reason you get that error is that virtual channels are not supported with our high-speed digitizers. Only devices that can be programmed directly with NI-DAQ support virual channels. The legal way to address a high-speed digitizer is by using DAQ::N, where N is the device number in MAX.

  • Creating Virtual Channel in RMAN

    Hi ,
    How to create virtual channel in RMAN? I tried googling for this info, however i wasnt able to find any details on it.
    Can someone help me with this or direct me to a link.
    Thanks

    Hi;
    Please see:
    Integration of RMAN with virtual tape library
    Integration of RMAN with virtual tape library
    Regard
    Helios

  • Error while creating virtual server in sunone web server 6.1

    I created virtual server class called vs1 and virtual server called vsr1 under it. I deleted them . now while i am trying to create another virtual server class by setting lisener socket and giving it a name. when i create virtual server class and click ok and then apply to apply changes it gives me error with message:
    File System error: can not open file for reading
    c:/iPlanet/Servers/myservername/[email protected]
    What's the solution ?
    Thanks in Advance,

    Hi..
    Thanks for your reply...
    Executed following command in OVS server..Please find the output of that command..
    [root@IRIMSOVM utils]# ./do_rpc.py https://oracle:[email protected]:8899 echo hello
    echo ['hello'] =>
    success:echo=hello
    [root@IRIMSOVM utils]#
    Thanks...
    YJR

Maybe you are looking for

  • How to read an xml file from headers

    Hi , I am not getting how to read an xml file sent by client device in header to server. Thankx.

  • Averaging the rows in a 1D array as samples are taken

    I am continuous taking 10 samples of voltage every second and therefore the output (Y) every second is  an array of one column and 10 rows.  How do I create loop that will average the rows of each sample taken.  For example, after 8  seconds I will h

  • Getting a New Machine, Help Me Migrate

    So, my new MacBook will be arriving at some point today. It's a 13", 2.0 Core2, 1 Gig/80 Gig HD, Combo Drive. Currently, I'm using a Mac Mini 1.25 G4 with an 80GB HD running 10.4.11 with a 160GB LaCie mini HD attached. I keep all of my media (iPhoto

  • Windows 7 not recognizing HFS+ partition

    Is there support for Windows 7 to read the HFS+ partition of the hard drive? If so, Windows is not seeing it. Also, does it only apply yo the internal drive or will it read external HFS+ formatted drives?

  • Linking a flash button to a dreamweaver HTML page

    Hi. hope this is possible. i've created a short animation in flash, and converted one of the shapes to a button. I have brought the .swf file into a dreamweaver page, and the "hand icon" is visilbe over the button, but i can't figure out how to link