Exception in DAQmxCreateAIVoltageChan with DAQmx v7.4

I have a C++ module whose purpose is to probe a user's system for available NI-DAQmx devices and their channels and ports. It used to work with the 7.1 driver set but now, with 7.4, it doesn't. Instead, when the channel name "/ai16" is passed to the DAQmxCreateAIVoltageChan function, it coughs up the following exception.
First-chance exception in [The process using my DLL.] (NIESXU.DLL): 0xC0000005: Access Violation.
This only occurs with strings on the type "/aiX" where X is any number outside the range of channels present. Complete nonsense names don't bother it, it just fails like you'd expect. I'm testing with a PCI-6014 at the moment that has only 15 AI channels so this used to just return the DAQmxErrorPhysicalChanDoesNotExist error that I trap to know when to stop counting. I catch the exception, of course, but I'd like it to not get thrown in the first place. What's happening with this now and can it be solved?
The relevant code section follows:
DAQmxCreateTask("Analog Input Counting", &taskHandle);
while(1)
str.Format("%s/ai%d", devices[i].name, devices[i].ai++);
status = DAQmxCreateAIVoltageChan(taskHandle, str, "", DAQmx_Val_Diff,
-10.0, 10.0, DAQmx_Val_Volts, NULL);
if(status != DAQmxErrorPhysicalChanDoesNotExist)
// Snipped for space. Fills out a large structure and updates a list.
else break;
devices[i].ai--;
DAQmxClearTask(taskHandle);

Hello,
I just ran some example code and called DAQmxCreateAIVoltageChan(taskHandle,"Dev4/ai16","",DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Volts,NULL) with a PCI-6014 and NI-DAQ 7.4, and wasn't able to reproduce the DAQ exception. What happens if you try to call that function with the "Dev4/ai16" hard-coded?
Try running the example at: C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Analog In\Measure Voltage\Acq-Int Clk. Modify the DAQmxCreateAIVoltageChan() function to "ai16" and see if the exception is still given.
If these steps still produce a DAQ Exception, try uninstalling and reinstalling DAQ.
Let me know if these steps do not help.
Regards,
Sean C.

Similar Messages

  • SharePoint Search Service upgrade to 2013 fails: "Inner Exception: An item with the same key has already been added."

    Here's the situation:
    Upgrading a SharePoint Server 2010 Search Service Application dB to our SharePoint 2013 SP 1 development environment, using the Management Shell
    Running the following commands: 
    $applicationPool= Get-SPServiceApplicationPool -Identity 'SearchService_AppPool'
    $searchInst = Get-SPEnterpriseSearchServiceInstance -local
    Restore-SPEnterpriseSearchServiceApplication -Name 'SearchServiceApplication' -applicationpool $applicationPool -databasename 'SearchServiceApplicationDB' -databaseserver SERVERNAME -AdminSearchServiceInstance $searchInst
    Creates the search dBs (crawl, links, analytics) successfully; however, in the end, I get....
    "Exception: Action 15.0.107.0 of Microsoft.Office.Server.Search.Upgrade.SearchAdminDatabaseSequence failed."
    Looking at the ULS logs, I find the following:
    Inner Exception: An item with the same key has already been added.
    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)     at Microsoft.Office.Server.Search.Administration.OOTBSchemaDefinition.FindAndFixExistingManagedProperties()     at Microsoft.Office.Server.Search.Administration.OOTBSchemaDefinition.InstallManagedProperties(Boolean
    upgrade)     at Microsoft.Office.Server.Search.Administration.OOTBSchemaDefinition.Upgrade()     at Microsoft.Office.Server.Search.Upgrade.UpdateAllOOTBProperties.Upgrade()     at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
    Exception: Action 15.0.107.0 of Microsoft.Office.Server.Search.Upgrade.SearchAdminDatabaseSequence failed.
    at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()     at Microsoft.SharePoint.Upgrade.SPDatabaseSequence.Upgrade()     at Microsoft.Office.Server.Search.Upgrade.SearchDatabaseSequence.Upgrade()     at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object
    o, Boolean bRecurse)
    Anyone encounter anything like this during their search upgrade process? I'm not honestly even sure what duplicate value to look for at this point, if I were to run a SELECT Id, ClassId, ParentId, Name, Status, Version, Properties FROM Objects on
    "SharePoint_Config" in SSMS. Any insight or opinions on the matter are welcome; and thanks to those who choose to reply to this, in advance.

    Hi ,
    You can enable the ULS log on verbose level (note, remember to reset to default level after finished troubleshooting) for more information per the following article, then check there should be more useful message for helping solve the issue.
    http://www.brightworksupport.com/enabling-verbose-logging-to-compare-against-c/
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/12c99279-d3aa-46de-bc57-d5d250692ff0/upgrade-of-search-service-application-from-2010-to-2013-failure?forum=sharepointadmin
    https://www.simple-talk.com/blogs/2014/04/22/sharepoint-2010-to-2013-search-service-application-upgrade-issueaction-15-0-80-0-fails/http://blogs.msdn.com/b/biyengar/archive/2009/10/27/psconfig-failure-with-error-an-item-with-the-same-key-has-already-been-added.aspx
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • Problem with DAQmx and Real Time PCI-7041/6040E.

    Problem with DAQmx and Real Time PCI-7041/6040E.
    I have a problem with the Real Time card PCI-7041/6040E, I think it is properly installed because my software run with the traditional NI-DAQ. When I try to use the new DAQmx to acquire one signal, Labview doesn't see any device for de DAQ card 6040E.
    Information, I work on Windows XP and LabView v7.0.0 (NIDAQ RT v7.0.0, NI-Serial RT v2.5.2, NI-VISA v3.0.1 and NI-Watchdog v2.0.0).
    Could Labview RT run with new DAQmx ?
    What can I do to use DAQmx with PCI-7041/6040E?
    Thanks for your help !

    Hello,
    I refer to your posts because i am using the PCI 7041/6040E card as
    well but without any success to make it work. The problem I have
    already described in the following thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=120198
    Would be nice if you had a look on it, maybe you can help me. BTW, the
    thread starts with a problem of someone else, the difficulties I
    encountered are to be found a little bit to the bottom of the thread's
    page.
    Thank you!
    Dirk Völlger
    Darmstadt
    Message Edited by ratschnowski on 07-28-2005 07:14 AM

  • Problem with DAQMX on a 6025E !!

    Problem with DAQMX on a 6025E
    I work on a DAQ 6025E and I can't use the example "Write Dig Port.vi" and all others example on digital output with DAQMX. There isn't any hardware failure because the same installation functions correctly with the traditional DAQ. I want to use these channel parameters: Dev1/port2.
    I already tested to make a reset device and use "line or port configuring vi" but without successes.
    Thanks for your help!
    Attachments:
    Write_Dig_Port.vi ‏48 KB

    I took a look at the example you attached and it looks fine. Here are a few things to try out BEFORE running the example from MAX:
    1) Remove any SCXI, SCC, and accessories from the configuration in MAX so that no DIO lines are reserved for communication.
    2) Reset the driver to work in DAQmx mode for your board. To do this, first right-click the "Traditional DAQ Devices" and say "Reset Driver" and then right-click your 6025E under DAQmx Devices and say "Reset Driver" again. This should enable the driver for DAQmx.
    3) In MAX, under DAQmx Devices, run the test panel and make sure you can read/write all the DIO lines there first. If that works fine you should be able to run the example.
    Remember that the port names for the 6025E are Port 0, Port 2, Port
    3, and Port 4 (no Port 1).
    Good Luck!!!
    Sincerely,
    Brooks Bailey
    Application Engineering
    National Instruments

  • Exception calling "Activate" with "0" argument(s): "Topology does not contain any components of type Microsoft.Office.Server.Search.Administration.Topology.AdminComponen

    Hi,
    I have a Sharepoint 2013 farm I am trying to provision search for (not the same as my other thread). However, I get the below error:
    Exception calling "Activate" with "0" argument(s): "Topology does not contain any components of type Microsoft.Office.Server.Search.Administration.Topology.AdminComponent"
    In my script, I have the following:
    New-SPEnterpriseSearchAdminComponent -SearchTopology $clone  -SearchServiceInstance $SearchServiceInstanceServer3 -ErrorAction SilentlyContinue
    So I am not sure why the error happens, when I am trying to set this component. However, it's not the first component to be set (index partition on non-local servers first). I can make it first, but why does this error happen?
    UPDATE: I have noticed that the usage and health proxy on my farm is/was stopped, but I am not able to access the server(s) to look at this right now. Could this cause this issue?

    Do you already have Admin component running for the Search Service Application?
    Usage and Health Service will not cause this issue.
    Please also refer to below discussion to see if it helps:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/02f0b072-aa3a-4b7f-9662-2caf373d1e57/setspenterprisesearchtopology-identity-newtopology?forum=sharepointgeneral
    Warm Regards,
    Bhavik K Jain
    Sr. Software Engineer - SharePoint Administration
    Please vote if my reply helps and ensure that you mark a question as Answered once you receive a satisfactory response.

  • Exception calling "Update" with "0" argument(s): "To add an item to a document library, use SPFileCollection.Add()"

    Hi i am trying to add a new item and update existing field value in a document library with powershell 
    but i receive below error message.
    PS C:\Users\spfarm> C:\Scripts\add.ps1
    Exception calling "Update" with "0" argument(s): "To add an item to a document
    library, use SPFileCollection.Add()"
    At C:\Scripts\add.ps1:24 char:16
    + $newItem.Update <<<< ()
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : DotNetMethodException
    #Add SharePoint PowerShell Snapin which adds SharePoint specific cmdlets
    Add-PSSnapin Microsoft.SharePoint.PowerShell -EA SilentlyContinue
    #Variables that we are going to use for list editing
    $webURL = "http://tspmcwfe:89"
    $listName = "test"
    #Get the SPWeb object and save it to a variable
    $web = Get-SPWeb $webURL
    #Get the SPList object to retrieve the "Demo List"
    $list = $web.Lists[$listName]
    #Create a new item
    $newItem = $list.Items.Add()
    #Add properties to this list item
    $newItem["Title"] = "My second item!"
    $newItem["Info"] = "s15"
    #Update the object so it gets saved to the list
    $newItem.Update()
    $web.Dispose()
    adil

    Hi Adil,
    Document Library is different from a normal list. The document library contains files inside it. You need to update the code to add a document to the library. Then you can get hold of the List Item represented by that file and update its properties. Here
    is an example:
    $WebURL = "http://aissp2013/sites/TestSite"
    $DocLibName = "Docs" 
    $FilePath = "c:\blogs.txt" 
    # Get a variable that points to the folder 
    $Web = Get-SPWeb $WebURL 
    $List = $Web.GetFolder($DocLibName) 
    $Files = $List.Files
    # Get just the name of the file from the whole path 
    $FileName = $FilePath.Substring($FilePath.LastIndexOf("\")+1)
    # Load the file into a variable 
    $File= Get-ChildItem $FilePath
    # Upload it to SharePoint 
    $spFile = $Files.Add($DocLibName +"/" + $FileName,$File.OpenRead(),$false) 
    $item = $spFile.Item
    $item["Title"] = "New Title"
    $item.Update()
    $web.Dispose()
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • Can read TEDS in MAX but not with DAQmx VIs

    Hi,
    I have a cdaq 9181 with a 9234 accelerometer module.  I have 3 teds equipped accelerometers connected to ai0, ai1, and ai2 repectively.  In MAX, when I reserve the chassis I can read all three teds, no errors.  When I do the same thing in labview (ie reserve the chassis, create a daqmx task, associate teds data with each physical channel, all with daqmx VIs) I can only read two out of three teds.  The third one throws a "no teds sensor detected" error.  This code has been in use for about four months now, though I just rewrote the calling VIs, and hasn't displayed this problem.  I've attached a snippet of the task building VI for reference.
    Any ideas what's going on?
    Thanks.
    Using LV2012 and MAX 5.3.1 running on Windows 7 32 bit.
    CLAD
    Attachments:
    Build Daq Task Snippet.png ‏58 KB

    Nope.  That's a delete from array, length 1, index 3.
    In any case, I eliminated that block since the string array wired to the for loop controls how many devices the VI attempts to configure.  Same result, verified it was trying to configure ai2.  Here's the updated snippet:
    CLAD
    Attachments:
    Build Daq Task Snippet v2.png ‏54 KB

  • SCXI 1001, SCXI-1102 and SCXI-1303 not working correctly with DAQmx

    I have recently upgraded from Labview 6.5 to Labview 8.2 and now my SCXI 1001 with a SCXI 1102 and SCXI 1303 terminal block no longer reads the correct voltage.  Using the old version of labview thermocouple measurements are correct at 0.5mV; however using the new version of labview and DAQmx the thermocouples are reading 5V.  Everything is installed correctly as it still works with the older version of Labview, is there something that needs to be reset or change so that teh SCXI will function properly with DAQmx?

    Hello ilabtech,
    From my understanding you are using an SCXI 1001 chassis with an SCXI 1102 and 1303 terminal block to perform thermocouple measurements.  You are upgrading to LabVIEW 8.2 and DAQmx.  I am assuming you were using LabVIEW 6.1 since there isn’t a LabVIEW 6.5.  You mentioned that are able to get a correct reading of 0.5 mV with LabVIEW 6.1 but you see a rail of 5V with LabVIEW 8.2 and DAQmx. 
    My first suggestion is that you ensure that the SCXI is set at the appropriate range and for the correct thermocouple type.  You can also configure these settings in MAX as detailed on page 27 of the SCXI 1102 User Manual and Specifications Guide. 
    My second suggestion is for you to start off using an example program to see if you see the same error.  When you are in a LabVIEW 8.2 VI you can go to Help>>Find Examples to open the NI Example Finder.  You then choose Hardware Input and Output>>DAQmx>>Analog Measurements>>Temperature>> Cont. Acq Thermocouple Samples-Int CLK.vi.   This example program is supported by your hardware and is a good resource to use to troubleshoot.
    If these suggestions aren't helpful please answer the following questions in your reply.
    1.        I would like to know what range you have set the SCXI 1102 to read. 
    2.       What version of DAQmx are you using?  You can find the version my opening Measurement and Automation explorer (MAX), expanding the “Software “and clicking on NI-DAQmx.
    3.       What operating system are you using?
    4.  Does your Traditional DAQ program work in LabVIEW 8.2?
    Regards,
    Ima
    Applications Engineer
    National Instruments
    LabVIEW Introduction Course - Six Hours
    Getting Started with NI-DAQmx

  • Pulse Generation application with DAQmx and a PXI-6624 module?

    What is the best implementation method for the following pulse generation application
    using LabVIEW, DAQmx and a PXI-6624 counter\timer module?
    I have two rising edge trigger signals (Trigger-1 and Trigger-2).
    There is ample spacing between each trigger. They never occur at the same time.
    I need to generate a single pulse (fixed width, variable delay) whenever Trigger-1 occurs and
    a finite pulse train (fixed width, variable delay, N-pulses) whenever Trigger-2 occurs.
    However, the output must appear on one counter output because this composite signal
    will be used as a trigger source for another PXI module in the rack.
    With DAQmx and a TIO counter\timer can I use both the GATE (for Trigger-1) and
    AUX (for Trigger-2) at the same time on the same counter to gate out the desired pulses?
    Trigger-1 would be wired to the GATE of CTR0. One Trigger-1 event would generate one pulse on the output of CTR0.
    Trigger-2 would be wired to the GATE of CTR1 and the output of CTR1 would be routed to the AUX input of CTR0.
    One Trigger-2 event at the GATE of CTR1 would generate multiple pulses on output of CTR0.
    Would DAQmx and the PXI-6624 TIO support this implementation?
    What is the best way to accomplish the task at hand.
    Thank You.
    Best Regards,
    Scooby

    Hi Scooby,
    I have looked into the application you have described and I see a potential problem with what you describe.  In DAQmx, it is not possible to call the counters of the same DAQ device in the same task, so you cannot have the finite pulse train generation and the single pulse generation tasks running at the same time.  What you can do, since you mention the triggers will not occur at the same time, is to stop one counter task while you are triggering another.  The way I would suggest you merge the outputs is with a two input Or logic gate to avoid damaging your counters.  Your signals will effectively be added together by this logic gate.   I do not see any way to merge the outputs internal to the DAQ device. 
    Please let me know if I can be of additional assistance.
    Laura

  • How to configure a continuous pulse generation that doesn't end after the VI exits with DAQmx?

    Hi,
    I'm just learning the DAQmx and I have run into a problem.
    With the legacy DAQ API I could configure a counter to create continuous pulses and
    when I needed change the freq or duty cycle, I would just call the the configuration function
    again. The pulses were generated even after I closed LV, so it was all in the hardware.
    Now, with DAQmx api, it seems that this is not possible. I read a forum post saying that
    LV will end the pulse generation after the VI exits. Is there a workaround for this?
    I could ofcourse create a LV thread for this, but I liked the old one better
    It was simpler and I didn't need to worry about threads so much.
    All LV operations are going to be inside a DLL that is called from outside of LV, so I can't
    use LV threads in a simple way, e.g. putting things inside a while loop. Just that you'll
    know why I wan't to avoid using the threads.
    Thanks.

    It is possible to achieve this behavior using the DAQmx API by using the DAQmx Create Task VI to explicitly create the task (rather than relying on DAQmx Create Channel to do it implicitly) and setting the AutoCleanup attribute to False.  This method prevents LabVIEW from automatically clearing the task when your VI (or the function you'll be exporting to your C .dll) finishes executing.  The disadvantage is that you might accidentally "leak" a task if you're not careful.  In order to stop the pulse generation on command, you can either reset the device or somehow store the task name you created and come back later to call DAQmx Stop and/or Clear Task.
    Here's how you would start the generation:
    ...and how you could come back and stop it later, using the task name you created:
    Hopefully this helps-
    Message Edited by Tom W [DE] on 11-16-2007 07:54 AM
    Tom W
    National Instruments
    Attachments:
    autoCleanup.JPG ‏17 KB
    clearTask.JPG ‏4 KB

  • How to generate sequence of pulse trains with DAQmx?

    I need to generate a sequence of pulse trains with DAQmx (the card I have is a PXI-6229 card). As an example:
    - 10'000 pulses at 20kHz every 5 seconds with an initial offset of 2 seconds (let's say 10 pulse trains in total).
    If I use the CreateVirtualChannel.vi in "CO pulse ticks" mode, I can only specificy offset, high ticks and low ticks, but not that the sequence of pulses should be repeated after some time. 
    Now I thought that I could solve this problem if it were possible to multiply two counter outputs: the first counter would generate the pulses (continuously) whereas the second one would switch between low and high on a slower timescale in order to gate the first counter, thereby providing an initial offset and the "off" phases between the pulse trains.
    Is it somehow possible to multiply two outputs with DAQmx and the card I have? Or is there another solution to the problem?
    Thanks a lot in advance for any hints!

    Hi dlanger,
    what you want to do requires a little bit more work. 
    First look at the example "Gen Dig Pulse Train-Continuous.vi" from the LV example finder.
    This example generates a continuous* pulse train. As you see, you need a sample clock VI for setting the sample mode. 
    * NOTE: Generating a finite pulse train with a M-series card requires 2 counter.
    With a pause trigger (DAQmx trigger property node) you can gate the output of that counter.
    Now you have to generate a gate-signal with the the 2nd counter. That means, only if  Ctr1-out is high Ctr0-out outputs the 20 kHz-signal. 
    Maybe you have to adjust the times in my example a bit. 
    Unfortunately there is just one "small" problem: "let's say 10 pulse trains in total" 
    This is not possible, because a 3rd counter would be necessary (*). 
    As a workaround you can modify the while-loop that both tasks are cleared after 50s. This is not brilliant, but should work fine for you. 
    A more sophisticated way is to perform a correlated DIO. So you can generate custom pattern for multiple outputs. 
    A good example can you find here: 
    Retrigger and Repeat Finite Digital Pulse Train in LabVIEW
    http://decibel.ni.com/content/docs/DOC-8473 
    or here:  
    Generating More Than 2 Pulse Trains Using CompactDAQ
    http://decibel.ni.com/content/docs/DOC-2167 
    Hope this helps.
    With best wishes,
    Ralf N. 
    Attachments:
    Gen Gated Dig Pulse Train-Continuous.vi ‏38 KB

  • Pci 6602: configuring a frequency-divider with daqmx using labview7.1

    i´m using labview 7.1 and the pci6602 counter-board. i want to configure a counter as an frequency-divider with varaibale division-rate, witch is a easy thing to do with the classic "old" daq-driver.
    it´s recommended to use the "new" daqmx-driver, and i want to do so, cause i´m using also other ni-devices and want to use the same driver for all of them, but i can´t find any possibility in the daqmx-vi´s to configure such a frequency-divider.
    i also couldn´t find any example-code for this problem.
    please help me!!

    hi, thanks for the answer, but unfortunatly it´s not what i ment.
    i need to configure a counter on the pci6602 wich divides down the frequency "f_in" of the square pulses connected to it´s "source" pin by "divisor" and puts out square pulses with frequency f_out=f_in/divisor at another pin. That process should take place only on the 6602-board without using the cpu.
    i´ve found the solution already, how to configure a counter on the pci6602 with daqmx like described above. see attachment.
    servus
    markus
    Attachments:
    Divider_Config_mw.vi ‏40 KB

  • Exception while working with Tibco adapter for Tuxedo!!

    Dear friends,:-)
    Greetings!
    I am facing an exception while working with "Tuxedo Adapter".
    I have installed TIBCO Adapter for Tuxedo on my machine which has both bea_Client and Server. I am trying to do a PurchaseOrder POC, which is already given in our TIBCO Adapter directory (C:\TIBCO\adapter\adtuxedo\5.3\examples\AgentBased\PurchaseOrder).
    The scenario goes like this, a request is sent from the Tuxedo client called clt, which invokes the Tuxedo service, which in turn sends a request to the adapter (“PublicationService”) through the adapter agent, and then the adapter publishes the data to the TIBCO environment. TIBCO BW receives the data using “Adapter Subscriber” and writes them to an XML output file named Get_output.xml.
    Problem in starting the Adapter - :(
    When I tried to RUN the make.bat which is placed at the “C:\TIBCO\adapter\adtuxedo\5.3\examples\AgentBased\PurchaseOrder” folder, it throws me the error.
    At the time of executing this script, “buildclient -o clt -f client.c”, it says that I don’t have a valid “TUXEDO SDK LICENSE”. The thrown exception is, "TUXNT_CAT:101: ERROR: You do not have a valid TUXEDO SDK license".
    Please tell me, is license Required to run the tux_client?
    also,please clarify, while configuring “tibco.env.WSNADDR”(i.e., Workstation Address of the Tuxedo server to connect to) I have given my machine IP ADDRESS with a unique port. i.e., //10.103.18.120:4020. I am not sure with this step. Please advice me!
    It would be great if you could please solve this issue.
    Thanks in Advance,
    Best Regards,
    Venkatesh Rajendran.

    Hi Venkatesh,
    Please see comments in line.
    Wayne
    <venkatesh rajendran> wrote in message news:[email protected]...
    Dear Wayne,
    Thanks a ton for your reply.
    Please clarify,
    buildclient is a Tuxedo command which is used to generate the Tuxedo client
    application. It needs Tuxedo SDK license, so you need to make sure the
    license is installed properly.
    Can you please let me know from where i can get the License? Can we download
    it online?
    [W] BEA provide a trial license in the product donwload site, but I am not
    sure Tuxedo 8.0 is provide or not. If you or your customer has Tuxedo
    installation, the license should alread be ready. It is located at
    $TUXDIR/udataobj/lic.txt.
    Running tuxedo client does not require SDK license.
    I am not sure how to start it. I am actually running the BAT file which has
    the following scripts,
    set TUXDIR=C:\bea\tuxedo8.0
    set WSNADDR=//10.103.18.120:4020
    set TUX_ADAPTER_HOME=C:\TIBCO\adapter\adtuxedo\5.3
    set TIBCO_RV_HOME=C:\TIBCO\TIBRV
    set APPDIR=%TUX_ADAPTER_HOME%\examples\AgentBased\PurchaseOrder
    set
    PATH=%TUXDIR%\bin;%APPDIR%;%PATH%;%TUX_ADAPTER_HOME%\hotfix\lib;%TUX_ADAPTER_HOME%\lib;%TIBCO_RV_HOME%/bin
    set TUXCONFIG=%APPDIR%\tuxconfig
    set ULOGPFX=%APPDIR%\ulog
    buildclient -o clt -f client.c
    buildserver -o server -f server.c -s POINFO -l
    %TUX_ADAPTER_HOME%\lib\agent.lib
    tmloadcf -y ubbagent
    tmboot ¨Cy
    Up to my knowledge, I hope TIBCO TUXEDO
    (ie.,TIB_adtuxedo-simple_5.3.0_w32_tuxedo80) acts as a TUXEDO_Server which
    receives the Request from TUX_BEA Client(Ex: C:\bea\tuxedo8.0).
    Or, does Tuxedo have a seperate Server installed on the machine other than
    TIBCO? please clarify.
    [W] I don't know the detail about TIBCO Tuxedo adaptor. Following
    clarifications for your reference,
    1. Tuxedo is an application infrastructure with framework for server and
    client. buildclient is used to generate the client binary and buildserver is
    used for application server linkage.
    2. I guess the TIBCO Tuxedo adaptor is a Tuxedo application client(or
    server?) which acts as a proxy process between TIBCO system and Tuxedo
    applications. So it receives request from TIBCO system and transform the
    requet to native Tuxedo data buffers and make the Tuxedo calls, then relay
    the reply back. So first you have to figure out the exact working model of
    it and check your Tuxedo applications.
    Your reply would be appreciated!
    Thanks a ton in Advance!
    Best Regards,
    Venkatesh Rajendran.

  • Installing LabVIEW 8.2.1 with DAQmx 8.0 on Suse 10.2 for Linux.

    We recently installed LabVIEW 8.2.1 on Opensuse 10.2 for Linux.  After some work, my advisor was successful at getting the install to work with DAQmx 8.0 and NIKAL 1.5.  I thought I would post the install notes for anyone who finds them useful.  Everything seems functional thus far.
    Jeff Hay
    Attachments:
    installnotes_2007aug13.txt ‏12 KB

    Jeff,
    Thanks for the extremely detailed post.  I have actually been experimenting with this combination of software for the past couple weeks (i.e. OpenSUSE 10.2, DAQmx, LabVIEW 8.2.1).  Your steps match mine very closely.  I did have a one thing to add, and one question about your steps.  First, I just want to mention that NI-KAL 1.6 has been released and it fixes several issues when installing NI-KAL with newer kernels.  This is available at:
    http://joule.ni.com/nidu/cds/view/p/id/850/lang/en
    I would highly recommend using NI-KAL 1.6.
    Second,  I wanted to ask about step #2 where you modify the modpost.c file.  When I ran updateNIDrivers I was not required to make this change.  However I did have to increase the allowable symbol length.  I changed the line:
    #define SZ 500
    to
    #define SZ 1024
    in modpost.c.
    I then proceeded to follow the steps you mentioned and was able to run updateNIDrivers without error.  Could you test to see if changing the allowable symbol length fixed the problem without having to ignore the "parse error in symbol dump file."  I don't exactly know what the read_dump function does but it always makes me nervous to ignore errors.  Since NI-KAL uses modpost to install a kernel module, this failure may be important, although I don't know for sure.
    Once again thanks for your awesome post.
    Regards,
    Neil S.
    Product Support Engineer
    Multifunction Data Acquisition
    National Instruments

  • Multiple tasks with daqmx

    Hello,
    I am currently working on a Senior Design Project where I have to measure torque, RPM, pressure and temperature.  I am using strain gages, a Hall Effect Sensor, pressure sensor and thermocouples to obtain these readings.  A myDAQ collects the RPM and pressure readings while a cDAQ collects the torque and temperature readings with the NI 9237 and NI 9211 modules.  I created LabVIEW VIs for each sensor and they work.  The problem I am having is when I try create a VI with DAQmx that reads all these sensor values simultaneously.  The VI that I have attached randomly displays one of the measurements while all the other measurements remain blank.  How should I edit my VI so I can display all my readings at once?
    Solved!
    Go to Solution.
    Attachments:
    SD.vi ‏87 KB

    You can form all of your cDAQ readings into a single DAQmx task.  Do the same for the myDAQ channels.  On the read side, you just read multiple channels.  You can then use the Array Index to separate your channel data and do whatever calculations you need.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Multichannel task.png ‏40 KB

Maybe you are looking for

  • Error while copying page. (WWC-44262)

    Error while copying page. (WWC-44262) An unexpected error occurred: User-Defined Exception (WWC-44088) An unexpected error occurred: User-Defined Exception (WWC-44082) An unexpected error occurred: User-Defined Exception (WWC-44082) Error while copyi

  • SAP Best Practice for Document Type./Item category/Acc assignment cat.

    What is the Best Practice for the document Type & Item category I want to use NB -  Item category  - B & K ( Blanket PO) , D ( Service)  and T( Text) . Is sap recommends to use FO Only for the Blanket Purchase Order. We want to use service contract (

  • Personnel number  invalid on posting date

    Hi All, While doing posting run system is giving an error "The personnel number 0013xxxx entered is not valid at posting date 25.10.2010. We have newly hired(On date 01.09.2010) this emp and first time we ran his payroll from Sept 2010 till Oct 2010 

  • Major sync issues between iphone and itunes + outlook

    I have an iphone 5, mistakenly pushed the button to update to ios7, got a new window pc with win8 and office13, and mistakenly again got updated itunes 11.1.3...after many years of pretty seamless itunes/outlook calendar/contacts/podcasts/ etc etc sy

  • Importing songs already on PC.

    I decided to give Vista a try on my desktop just to see what it's like. When I launched iTunes it started to import all my songs, I noticed it was importing each song double. I decided to empty the music library and import them all some other way. My