Auto-trouvez modules SCXI (in the slot machines) with DAQmx

I have a client with an older SCXI system that I'm upgrading.  While replacing the traditional DAQ options, I would like a routine without configuration code for them (or as close to zero as possible).

I can find SCXI modules using the properties of the DEVICE, but I can't identify exactly which locations, they are in.  I have aliases are in alphabetical order, it works, but if they do not mess with them.

Any ideas?  MAX seems to know...

Hi Jed,

You attempt to convert a traditional DAQ MAX configuration programmatically in a configuration DAQmx MAX or something else?  The DAQmx API does not expose the ability to query a SXCI module slot number.  I suggest you take a look at the API of the System Configuration OR (http://joule.ni.com/nidu/cds/view/p/id/2613/lang/en).  The 'Material' of the System Configuration API class property node contains a number of Slot property that should return the number of appropriate housing.

Tags: NI Hardware

Similar Questions

  • Stop a signal to connect to the slot machine

    Hello

    Is it possible to stop broadcasting a SIGNAL?

    I had defined a SIGNAL to connect to a SLOT machine at some point earlier.

    But now I want to stop this SIGNAL to connect to the purpose of the LOCATION.

    I tried this thing

    definition of a signal to connect to the slot machine

    connectResult = connect (sensor, SIGNAL (readingChanged ()), this, SLOT (accelerationReadingChanged ()));

    I use to stop

    Connect (sensor, SIGNAL (readingChanged ()), this, SLOT());

    But he does not have to issue.

    use disconnect to disconnect the signal.
    signals and slots allow n connections n a new connection does not overwrite the old connect.

  • Create the virtual machine with the ISO mounted CDROM

    Community of hell!

    Working on the vmcreate.pl script to add the creation of CD-ROM with iso data store, I got stuck on the error

    ' Invalid device configuration: ' VirtualSCSIControllerOption.numSCSICdroms '.

    I'm sure I'm missing something obvious, or this option but may not understand how to deliver this.

    I created a cdrom as follows (below test I create any CDROM, no iso file to reduce the number of layers):

    my $ BPPRR m_backing_info = VirtualCdromRemotePassthroughBackingInfo->new)

    deviceName = > ' '.

    exclusive = > 0,

    );

    my $description = description->new(label = > 'CDROM', summary = > 'cdddrom');

    my $connectable = VirtualDeviceConnectInfo->new(allowGuestControl = > 1,)

    connected = > 0,

    startConnected = > 1,

    ( State = > inmates ' / ' );

    my $ BPPRR m = VirtualCdrom->new(backup = > $BPPRRm_backing_info,

    connectable = > $connectable,

    controllerKey = > 0,

    deviceInfo = > $description,

    key => 1,

    ( unitNumber = > 1 );

    VirtualDeviceConfigSpec->new(device = > $BPPRRm,

    operation = > VirtualDeviceConfigSpecOperation->new()'add'));

    Did anyone have working example to create the virtual machine with CDRom?

    Andrey

    If someone will find this useful I followed this route Re: vmreconfig.pl add the device CD/DVD fails if the virtual machine created with vmcreate.pl

    and also I found good examples of what I need to in VMUtil.pm in cmd vmsphere libraries.

    Andrey

  • Doubts about sound in the virtual machine with w2k3

    Hi all

    I have the following question on the sound:

    • In my lab I have an ESXi 4.1 without sound card.
    • I create a virtual with Windows Server 2003 computer.
    • When I connect to my VM via Remote Desktop, I hear the typical sound of logon of windows acroos the speakers of my laptop. Why, if my VM doesn't have a sound card?
    • What kind of sound can reproduce via Remote Desktop if the server has no sound card?

    If anyone can clarify on this, I'll be very grateful

    Thank you

    Hello febsa

    The virtual machine with W2003 used your computer speakers.

    What kind of sound can reproduce via Remote Desktop if the server has no sound card? Only the default Windows 2003 sounds


  • Impossible to turn on the virtual machine with the following error: could not open the disk ' / path/to/vmdk-0001.vmdk ' or one of the Flash disk it depends on. Reason: Broken pipe.

    After the movement of virtual machines in VmWare Server 2 for ESX 4i, I get this error when you try to start the virtual machine:

    Impossible to turn on the virtual machine with the following error: could not open the disc

    "/ path/to/vmdk-0001.vmdk" or one of the Flash disk it depends on.

    Reason: Broken pipe.

    Anyone's idea what is the problem here?

    How did you move virtual machines?

    Did you use the converter (https://www.vmware.com/tryvmware/?p=converter)

    Otherwise try converter

  • How to install and configure the virtual machine with XP as an operating system on a Machine running Vista

    How to install and configure the virtual machine and XP operating system inside, with vista as my work machine.

    * original title - how to install and configure the computer virtual and XP operating system inside, with vista as my work machine.*

    How to install and configure the virtual machine and XP operating system inside, with vista as my work machine.

    Hey Preethi23

    It comes to the installation of vista operating system instance

    read the links below

    http://www.Microsoft.com/Windows/Virtual-PC/support/Virtual-PC-2007.aspx

    http://www.Microsoft.com/Windows/Virtual-PC/support/FAQ.aspx

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=04d26402-3199-48A3-afa2-2dc0b40a73b6&displaylang=en

    Walter, the time zone traveller

  • See the virtual machines with multiple tags in a category

    Good afternoon-

    I'm looking for a way to list all virtual computers that have several tags of a certain category. In my situation, I use VMware tags to control the selection of lists for my backup software. I have a category of tag called tags said 'Monday', 'Tuesday', and "Backup Job" etc. I'm looking for a script that will tell me all the virtual machines that have multiple labels in the category of backup, as the 'Monday' and 'Thursday' tags, for example.

    Thank you!

    Try something like this

    $tagCatName = "save jobs".

    $tagCat = get-TagCategory-name $tagCatName

    Get - VM | where {(Get-TagAssignment-entité $_-catégorie $tagCat).} {Count - gt 1} |

    Select Name,

    @{N = 'Tags'; E = {[string]: join ("," (Get-TagAssignment-entity $_-category $tagCat | % {$_.}))} Tag.Name}))}}

  • Impossible to deploy the virtual machine with customization.

    Hi all

    I have a model Winodws 2008 R2 Std and Ent.  I use to deploy virtual machines with the model using the Customization Wizard.  All of a sudden since 2 days I can't provision VMS with the wizard of customiation.  Earlier, there seems to be no problem with the customization, but when I turn on the virtual machine, I see errors, attached is the screen shot for your reference.

    After the error 2 the vm keeps restarting without end time.

    I don't know what is the cause.  Please help me with the problem.  Let me know if you need additional information.

    Thanks in advance.

    Hey there,

    Have you tried to get the Microsoft Windows product key? And maybe the password in the profile customization.

    If this does not work, try using a new profile customization.

    Let us know how things work!

    See you soon,.

    René

  • View of the Virtual Machine with the host name of the filtering

    Hello

    I'm trying to get a specific view of the Virtual Machine from a hypervisor.

    Basically, I tried to reuse an idea found on the script of cdromdisconnect.pl, an address in http://communities.VMware.com/message/1192878#1192878

    The code would be

    My $host_view = Vim::find_entity_view)
    view_type = > 'HostSystem. "
    filter = > {'name' = > $vm_hypervisor_name},
    );

    My $host_moref = $host_view-> {mo_ref} {value};


    $vm_view = Vim::find_entity_views)
    view_type = > 'VirtualMachine.
    filter = > {}
    'runtime.host' = > $host_moref,

    'name' = > $vm_name,

    },
    );

    But the API said that "filtering is only supported for the Simple Type"

    So I'm just the host_view and then call the property "-> virtual machine" to recover all the vm of the host, and then I loop inside the table to retrieve the name and the virtual machine, I am looking

    But, is there not a smoother way to directly get the view of the entity of VM to a specific host?

    Thank you

    Give a try:

    $host_view = Vim::find_entity_view (view_type-online "HostSystem", filter-online {'name'-online $host_name}) | Die "could not get $host_name!"

    $vm_view = Vim::find_entity_views)
    view_type-online 'VirtualMachine.
    filter-online {'name'-online $vm_name},

    begin_entity => $host_view.

    },
    );

  • Report by the virtual machine with tools obsolete and/or material email

    Hi all

    The subject of this thread pretty much says all this, but just to remind I want to generate a report of computer virtual tools with just e-mail and or equipment outdated, I have searched around a bit but don't seem to find all the vm where I try to exclude the VMs to date of this report, also I prefer in a format of e-mail if possible. I'd appreciate any help or links to help meet this goal.

    Yes, that's what makes the - or in the condition of the Where clause.

    If one of the two conditions is not met, the virtual machine will be in the report.

  • Create the virtual machine with the type of controller SCSI LSI logic SAS with PowerCLi

    Hey guys,.

    IM the difficulty to create a virtual machine with the type of controller SCSI to "LSI Logic SAS". The cmdlet New - VM im struggling to find where to create the type of controller?

    If you create a virtual machine without specifying a disk it will create a 4 GB SCSI type thick (0:0) hard drive 1 with 0 Parrall default BusLogic SCSI controller.

    What im wanting to do is to create a disk hard which is thin Prov. and create SCSI LSI logic SAS controller is set to.

    New-VM -name VMSTORE23 -$vmhost $esxhost MemoryMB- 4096 NumCpu- 2 -NetworkName "Vlan 6 Machine Virtual Network" | Get-NetworkAdapter | Set-NetworkAdapter -Type Vmxnet3 -MacAddress '00:50:56:00:00:21' -confirm:$false

    I have recived of aid by some LucD who helped direct the value of the network card in the New - VM cmdlet as follows. But I'm not able to add a hose for hard disk also like:

    | Get-hard drive | Together-hard drive - Datastore $datastore - slim StorageFormat

    And I have no idea how change the type of SCSI conroller or create it with the correct configuration?

    Any help would be great,

    Thanks in advance

    Eddie

    Greetings, steddyeddie-

    You should be able to use Set - hard drive and SCSI controller Set cmdlets to set the storage format of your hard drive and the SCSI controller type, respectively.  You were close to on the part of game - hard drive .  Try something like:

    ## get the VM object $vmVMSTORE23 = Get-VM VMSTORE23 ## set the harddisk storageformat to thin$vmVMSTORE23 | Get-HardDisk | Set-HardDisk -StorageFormat Thin ## set the SCSI controller type$vmVMSTORE23 | Get-ScsiController | Set-ScsiController -Type VirtualLsiLogicSAS
    

    It could pack in to your existing order to keep it as a good word, but for readability.

    Enjoy

  • Discover the virtual machine with VMware View 4.5.  "That underlies the virtual machine is not available.

    I have installed the following to an ESX 4.1 server:

    -VMware View connection server (Server 2008 R2 Ent)

    -V - Center (Server 2003 Std)

    Install the VMware Client with Local Mode 4.5 to a laptop

    Installed VMware Agent to a Windows XP and Win7 is a guest vm on the ESX Server.

    I can connet with success both of these machines.

    When I try to extract either of these machines, I get the error message after 2% saying, "underlying this desktop virtual machine is unavailable.

    Can someone tell what to do to solve this problem?  I can't find anything so far for this error.

    Thank you

    Did you install and configure a forwarding server?

    -Mike

  • Networking between the virtual machine with the operating system Linux in VMWorkstation

    I'm new to Vmware Workstation 7

    I had installed vmware workstation on XP. I created two virtual machines with RHEL 4. I am unable to network between two virtual machines.

    I can't make a ping a machine to other Linux, which is the operating system on both the machine. However, cannot connect ftp or can't see computer networked in computer > network under linux...

    I had used the guest network only on both the machine with the same adapter vmnet8 (considering as switch) and have assigned static IP address at a time

    ORDI1 - 192.168.42.21

    COMP2 - 192.168.42.10

    and also have installed vmware tools on both the machine...

    can someone help me on this...

    muzaffar700 wrote:

    I can't make a ping a machine to other Linux, which is the operating system on both the machine. However, unable to

    ftp connection or may not see computer networked in the computer > network under linux...

    Disable all firewalls in your linux guests.

    I had used the guest network only on both the machine with the same adapter vmnet8 (considering as switch) and have assigned static IP address at a time

    ORDI1 - 192.168.42.21

    COMP2 - 192.168.42.10

    and also have installed vmware tools on both the machine...

    can someone help me on this...

    Host-Only is VMnet1, you used only NAT. static use of intellectual property and switch to DHCP for now. Make sure that the VMWare DHCP Server service is running. Put network cards in comments to "host-only '.

    Post your host ' ipconfig/all'.

    AWo

    VCP 3 & 4

    Author @ vmwire.net

    \[:o]===\[o:]

    = You want to have this ad as a ringtone on your mobile phone? =

    = Send 'Assignment' to 911 for only $999999,99! =

  • Moving the virtual machines with FastSCP

    Hello

    I have a question, I would like to know if anyone has done this before, I copy on an external hard drive, some virtual machines so that I can transfer them to another site.

    If I use FastSCP copy host ESX 3.5 Update 4 to post HD then copy them to vmfs another of the host partition, and then use the importer of them for import into the Vcenter to the other site.

    Because someone told me that if I use FastSCP vs WinSCP I can do something that WinSCP can not do, and I don't remember what it was, but believe that it had to do with vmfs? So if someone has done this, please let me know.

    Thank you

    -Mike

    Because someone told me that if I use FastSCP vs WinSCP I can do something that cannot make WinSCP,

    Not true.  The one who told you this, needs to get a job, because they have no idea.  It is just a file.  It doesn't matter HOW transfer you.  If we transfer correctly it will work, let it be.

    Also, you cannot use importing, unless you transfer the entire folder, because the importer (or VM converter) requires the vmx file identify the configuration of the virtual machine.

    Personally, I find that WinSCP is better, FastSCP has firewall problems, and it's a hassle.  The BEST is: http://www.bitvise.com/tunnelier

    All in one tool, SSH, file transfer.

  • OfficeJet 7500 has the configuration of the fax machine with 2 telephone lines

    I have an Officejet 7500 a. The phone is a double line, phone double issue. The 2nd line/number is the number of fax. There is also a DSL service on the line and an answering machine for two lines on a phone. There is no separate cycles for two numbers.

    For installation, I shared the line out of the wall socket. We're going to the DSL modem. The other goes to a DSL filter.

    I tried to hang the black line of HP filter, then the line-1 printer. Then, out of the printer 2 - ext to a separator with several phones, including one with an answering machine. However, all the features of line 2 has been removed from all phones. I guess the line black/printer fails to pass. However I could pass the test of fax,

    So I had the idea of dividing the two lines into individual lines, feed on the second line in the printer (using the HP black line) and then again, and then recombine the lines and send them on phones. Now all the features of two line seems to work for phones, but when I run the fax test, it does not say "you do not use the type of appropriate phone cord.

    It looks like this:

    DSL filter - Splitter-L1 - L1-Splitter (recombine) - phones

    -L2 - HP Black line - 1-line 2 - ext - L2-

    I don't know why it's a failure, or what I have to do to make this work?

    For completeness, the separator is a 3 line separator, but we have nothing on the line 3. It is divided as follows:

    L1 + L2 + L3 Splitter - L1 + L3 (effectively L1)-cross

    -L2 + L3 (effectively L2)-for Officejet

    -L1 + L2 + L3 (not used)

    Ideas?

    Well, I seem to be at the end of the game. I tried sons of single line of the fax to the telephone/answering machine and fax test still does not work. I turned off also error correction mode and that made no difference.

    BUT it doesn't matter because the phones and fax all seem to work very well. I sent a fax to the service HPFAXME (several times) and it worked fine and in. The answering correctly and fax catch fax calls and ignores the voice calls. If someone meets the fax call they hear 3 beeps and the line is silent. In case, answering machine or direct pick-up on any phone, the fax is correctly. I also tried the FaxZero service and it worked fine.

    So, I will be content with that, even though the fax test fails. It bothers me because I do not let "loose ends" lying around, but since I can't read the mind of the engineers who designed it, and how they expected over this configuration, which I think would be relatively common, I'm just spinning my wheels.

Maybe you are looking for