Change a DAQmx channel property for a single channel from a channel group

Hi,
I'm doing some digital output, and I'd like to tristate certain lines in each port. However, I'm having difficulty figuring out how to specify which individual lines to tristate. I input a port and a line range, e.g. PXI-6533/port0/line0:7, specify to use one channel for each line in the DAQmx Create Virtual Channel VI, retrieve the channels from the DAQmx Task Property, and try to operate on the individual channels that way.  However, this results in the following error:
Error -200428 occurred at Property Node DAQmx Channel (arg 1) in tristate_test.vi
Possible reason(s):
Measurements: Value passed to the Task/Channels In control is invalid.
The value must refer to a valid task or valid virtual channels.
Task Name: PXI-6533/port0/line0
The NI knowledge base article that deals with this error code talks about creating a task with the DAQ assistant, or ensuring that a task has been created. However, I'm not using the DAQ assistant, as my I/O is pretty complicated; I'm just using a bunch of virtual channels. 
Is there a way to specify individual channels to changethe properties of without having to create additional virtual channels? I have 48 digital channels I plan to use, so the less virtual channels I have to create the better. 
Please reference the attached VI, which demonstrates the problem I am facing. 
Thanks for any assistance. 
Attachments:
tristate_test.vi ‏11 KB

You can only software-time tristate for the 6533/6534. Have a look at the attached example.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Attachments:
tristate6533.vi ‏58 KB

Similar Messages

  • Change the SWF loading text for a single presentation

    This question was posted in response to the following article: http://help.adobe.com/en_US/Presenter/7.0/WS8815BC0A-5D22-4f29-87B9-D9047B5B57E4.html

    Hi,
      I have Adobe Presenter 7.0.5, in which with recently updating to 7.0.7 version.
    When I tried the fix of this "Change the SWF loading text for a single presentation" workaround fix, I passed to have the error:ReferenceError: Error #1069: Property ADOBE_PRESENTER not found on Pool_P75.Resource.UIText
    But before this error comes, I see that the loading text is changes from the original 2Adobe Presenter" to the one defined by me on the UIText, as the fix said.
    And what's happen is that the scrren with the loading text is not being changed by the learning first slide....
    Is there any workaround to correct that error?
    Many thanks in advance for any feedback from the adobe support team or from any other colleagues that are using Adobe Presenter (;-)).

  • How to change the Content-Transfer-Encoding for the fmddataa.fmd from base

    Dear all,
       When I using this SO_DOCUMENT_REPOSITORY_MANAGERto send email,I find the fmddata.fmd  file have been changed  to binary file attachment. I don't hope so.any one have good idea to avoid this case occur?
      Can you tell me how to change the Content-Transfer-Encoding for the fmddata.fmd from base64 to quoted-printable.  The quoted-printable is the Content-Transfer-Encoding for text file with extension .txt
    Best Regards,
    Merry

    Thank you

  • Change log issues-2 images for a single requests

    Hi ,
    in change log table for a single request i found 2 before images and two after images, is this normal behaviour if not when can we see the such type of scenarios.
    because it leads to zero records when it isn updated in to the further data targets.
    thanks.

    the listener is NOT involved with any existing session.
    stopping & restarting the listener has NO impact on existing sessions.
    I suggest it is better to control network access to any system using a Firewall which is the best tool for this task.
    Yes, it is possible to have more than 1 listener. It is also possible to poke yourself in the eye with a sharp pencil.
    I suggest that you should avoid both of these possible activities.
    Simply put having multiple listeners is wrong for multiple reasons & should be avoided.

  • How to run two vi's at the same time, one uses an AI task with 8 AI channels the other a single AI and AO channel???

    Hello Everyone,
    Here is my situation.  I have one vi that is reading an AI task of 8 channels AI0 --> AI7 (one sample on demand) and also has control of all of the digital outputs on the board.  My problem is that I want to run another vi that will use the last AI channel AI8 and an AO channel AO0.  These two vi's do not need to know anything about one another but I do need them both to be running at the same time.  Currently when I try running the two vi's together both vi's crash and I get an error message stating that the AI8 pin is reserved.  AI8 is not part of the task and is not refrenced anywere in the larger vi.  I am assuming that this problem is do to the fact that the larger vi is occupying the DAQ board, cycling through the task when the smaller vi is requesting data from AI8 and the DAQ board cannot do two things at once.  The sampling rate on the smaller vi is not really that important.  Is there anyway I can get the smaller vi to read from AI8 and not crash??? Software and Hardware listed below.  Thanks in advance for any suggestions.
    PCI-6221
    Labview 7.1 

    Hi steve ,
    Sorry to say that you cannot configure and acquire from AI channels on a   Device simultaineously from 2 seperate VI's.
    regards
    Dev

  • Change number of record displayed for a single item alone

    Hi,
    I have a single data block with few items. Is it possible to make one item in the block as non-database item and make the display of record in the item alone to show multiple lines.
    i.e. All other items in the Data block shows single record, whereas this particular item should shows 10 records.
    Is this achievable?
    Or should i have to put that item in a separate data block and choose the data block property to "Number of records displayed" as 10?
    Thanks,
    Yuvaraaj.

    983448 wrote:
    Hi,
    I have a single data block with few items. Is it possible to make one item in the block as non-database item and make the display of record in the item alone to show multiple lines.
    i.e. All other items in the Data block shows single record, whereas this particular item should shows 10 records.Yes you can. But i will say re-check your design.
    Hamid
    Mark correct/helpful to help others to get right answer(s).*

  • Changing current visual attribute property for the entire application

    Hi All.
    I want to change the current visual attribute color of my form at the application level, reason being i don't want to generate all the forms again from scratch.
    I know that we can change this using visual attributes but is there a way to change this through some form setting?(Oracle 10g)

    I know that we can change this using visual attributes but is there a way to change this through some form setting?(Oracle 10g) There are two settings in the formsweb.cfg that could help, but only if all of your foreground and background color settings are set to Undefined. The settings are: lookAndFeel=Oracle and colorScheme=<Choose Scheme> where "Choose Scheme is one of the following scheme's: Teal, Titanium, Red, Khaki, Blue, BLAF, SWAN, Olive, or Purple. The default is Teal.
    The fact that you are using a Visual Attribute for your Forms application color scheme tells me that you are not using the default "Undefined" color setting so changing the *colorScheme* setting will _not_ have the effect you want.
    Since you are using Visual Attributes (VA) to define colors, you will need to change the colors in your VA and then recompile your forms for the changes in the VA to be inherited in your forms. Sorry, that is just the way Forms works. Recompiling all of your forms due to this type of change is not that uncommon and is fairly painless if you have a shell script or batch file that compiles all of your forms for you. There are numerous posts in the forum about how to write a script that will do this, so if you don't have a script yet you can search forum for more details.
    The other option would be to build your own routine that would allow you to read an environment setting or pass the setting in the URL to select a color scheme. Then create a group of Visual Attributes used by these color schemes and apply them in each Form's Pre-Form or When-New-Form-Instance triggers. This is a lot of work, but it would give you the flexibility to change your application's color scheme without having to recompile your forms.
    Having said this, it begs the question - why not just use Oracle's predefined color scheme's or use the *lookAndFeel=Generic* setting so the user's desktop color scheme is inherited by your application.
    IMHO, Visual Attributes are best used to accent an application rather than define their _full_ color scheme. For example, I use VAs to highlight the current record and current item as well as highlight required items.
    As for using "JDAPI" as *WoMo* suggests is a design-time tool - not a runtime tool. Using JDAPI would require you to know Java and you will still have to recompile all of your forms using this tool.
    Craig...

  • Hi! how do i change the bleed in indesign for a single page only? thanks

    tryed threw edit >> document setup , but it changed all the pages. is ther a "page setup" or a different way?

    In addition, a document "needs bleed" or it doesn't. Can you explain why your document needs *different* amounts of bleed?
    Modern imposition software can cut off any excess bleed when and where necessary. However, it cannot "add" bleed where required. So more is better (although 5 mm all around usually is enough).

  • Calling A Single Value From A Channel To Output To A Table Need Help

    I have populated a table that contains every value in every channel of my data set. I am now attempting to do channel calculations in order to come up with weighted averages and an overall average for the days worth of test. This data will be outputted to a new table called 'Total Table'. This Total Table is to only have one value per channel.
    The issue I am running into is 2-fold. When doing channel arithmetic, primarily Channel Sums using 'ChnSum' DIAdem does not truncate the entire data set into a new data set. It retains all the values and appends the last block with the sum of the entire channel set. I need to either be able to pull that last value dynamically (as not all my data sets are of equal length) or I need to generate a new channel that only has the sum value. Is there a way to do this?
    Here is what I have been attempting to do but to little avail. Attached is a screenshot of what the table output looks like after this code is processed.
    'Populate Total Table With Values From Above Calculations
    For j = 1 to selectData.MultiSelection.Count
    Counter = Counter + 1
    length = ChnPropValGet("[" & selectData.MultiSelection(j).Index & "]/Cumulative Fuel Used", "Length")
        If Counter = 2 Then
       [ A Bunch Of Channel Calculations That Output New Channels ]
       Call View.Sheets("Total Table").Areas("Area : " & Counter).DisplayObj.Columns.Add(ChnFind("Ch("& selectData.MultiSelection(j).Index &") > 0 " , length - 1))
      End If
    Next
    Any help would be much appreciated.
    Thanks,
    ~Nate
    Solved!
    Go to Solution.
    Attachments:
    TotalTable.JPG ‏212 KB

    This is my latest version of the code and it sort of works but its referencing my "Fan Speed" channel for some reason rather than my "Cumulative Fuel Used" channel. Im a little stumped
    For j = 1 to selectData.MultiSelection.Count
    Counter = Counter + 1
    length = ChnPropValGet("[" & selectData.MultiSelection(j).Index & "]/**bleep** Fuel Used", "length")
    If Counter = 2 Then
    Call View.Sheets("Total Table").Areas("Area : " & Counter).DisplayObj.Columns.Add(Data.Root.ChannelGroups("[" & selectData.MultiSelection(j).Index & "]").Channels("**bleep** Fuel Used").Values(length))
    End If
    Thanks,
    ~Nate

  • How to set the intial Value for a single radiobutton in a Radio Group

    Hi All,
    I have a radiogroup with 3 buttons. The Names of the RadioGroup are driven from a XXVO.
    3 Radion Buttons:
    * X
    * XX
    * XXX
    When the Page loads i want to make one Radio button XXX to be the default , please suggest how do i do it.
    Note : The radiobutton values are coming from VO
    Thanks

    Hi ,
    As AJ said create 3 radio buttons in ur page and assign to one radio group,,
    OAMessageRadioButtonBean appleButton3 =
    (OAMessageRadioButtonBean)webBean.findChildRecursive("GroupButtonOne21");
    appleButton3.setName("serviceAgreementGroup");
    appleButton3.setValue("RW");
    OAMessageRadioButtonBean orangeButton3 =
    (OAMessageRadioButtonBean)webBean.findChildRecursive("GroupButtonTwo21");
    orangeButton3.setName("serviceAgreementGroup");
    orangeButton3.setValue("NW");
    ---For radio button u can check in page it self.
    Regards
    Meher Irk
    Edited by: Meher Irk on Nov 23, 2010 2:47 PM

  • Daqmx channel property node

    Hi all,
    I've downloaded an example for a quad counter which uses a daqmx channel property node to specify A,B,Z channels.
    I have tried to replicate the example using LV8.1 but the only properties that I get are 'Active Channel' and 'General Properties' with 4 sub properties. Why don't the channel properties show up? What am I missing here?
    I have attached a jpeg of what im talking about. Any help is appreciated.
    Cheers,
    Dave
    Attachments:
    prop node.jpg ‏16 KB

    Hi David,
    This happens when you have not inserted a DAQ device in your system or your DAQ device is not detected by your MAX.
    You could do one of the following
    1. Insert a DAQ card into the PCI/PXI slot
    or
    2. Simulate a DAQmx device in MAX.
    By doing this, the corresponding DAQmx properties will show up

  • To change the JDBC driver for a single OC4J instance

    Hello,
    I implemeted an app with oracle adf (Jdeveloper 10.1.2 ) and it use Oracle Domain objects.
    I have an oas 10g (9.04.1) in windows
    and I want to change the default jdbc driver for a single oc4j instance
    in metalink i found the following information:
    1.- From OTN, download and copy the 10.1.0.x JDBC driver to a directory on the server. E.g OH/newjdbc
    2.- Opening EM-Website, navigate to the OC4J instance that should be altered.
    3.- Find the "Java-Options" and, add the -Xbootclasspath option to it, pointing to the new JDBC driver.
    E.g. -Xbootclasspath/p:$OH/newjdbc/ojdbc14.jar
    4.- Restart the OC4J instance
    my 'Java-optios' default is
    -server -Xrs -Djava.security.policy=C:\oracle\904\j2ee\test_adf\config\java2.policy -Djava.awt.headless=true
    my new 'Java optios' now is
    -server -Xrs -Djava.security.policy=C:\oracle\904\j2ee\test_adf\config\java2.policy -Djava.awt.headless=true -Xbootclasspath/p = D:\jdev1012\jdbc\lib\classes12.jar
    is this correct?
    now I cannot deploy my app
    Rigoberto

    Seems you missed something in step 3. From those steps the driver should be installed under C:\oracle\904\newjdbc and used in classpath, not d:\jdev1012.

  • Custom 404-page for a single directory ?

    Is it possible to change the 404 error response for a single directory (and ist
    subdirectories)? Like I can do with a ".htaccess" - file on an apache webserver?
    I know it's possible to do it global with weblogic.httpd.errorPage.xxx=URL in
    weblogic.properties. That's not what I like to do.
    Thanks in advance for any help.
    Bert

    [att1.html]

  • Default credentials not being saved in Hyper-V Manager for a single VM

    Greetings,
    I have a Server 2008 R2 SP1 Standard Hyper-V box running about 8 virtual machines on it.  The machine is  joined to a 2008 domain. 
    Recently, I moved the .VHD file for a single machine from one folder to another folder.  After doing so, when I connect to ONLY that specific machine via Hyper-V manager, I receive the error: "Your credentials did not work.  Your system administrator
    does not allow the use of default credentials to log on to the remote computer XXXXXX because its identity is not fully verified.  Please enter new credentials."
    I have the "Use default credentials automatically (no prompt)" option checked in the Hyper-V settings, and I have tried checking and unchecking this box and saving multiple times.  I have also deleted the saved credentials and the system reports no
    saved credentials.
    I have attempted to change settings in the group policy (gpedit.msc) regarding enabling the Local Computer Policy > Computer Configuration > Administrative Templates > System > Credentials Delegation > Allow Delegating Saved Credentials with
    NTLM-only Server Authenticaton setting, something I found in older blog posts here in the Hyper-V forum and on other websites, and it has not made any difference.
    At this point, I can only assume this must be some sort of bug because I cannot identify any other possible solution for getting rid of this annoying Windows Security pop-up box.  There are no entries in the Windows event log that indicate anything
    odd.  When I enter the correct username/password, I can still access the VM, but the credentials are never remembered, and ONLY for this single VM.
    Does anybody have any knowledge of how to fix this issue?  I can't believe that just moving a VHD caused all these problems.
    Thanks!

    Ah, finally found a solution!  I cannot explain why this suddenly got changed other than to assume it must have had something to do with a recent Windows Update or me trying to install Remote Desktop Services and Network Policy and Access Services.
    I roughly followed the directions from
    KB954357 or this
    older post on the Hyper-V forum.
    FIX:
    1) Run gpedit.msc on the Hyper-V host that exhibits the problem.
    2) Enable the policy setting Local Computer Policy > Computer Configuration > Administrative Templates > System > Credentials Delegation > Allow Delegating Default Credentials with NTLM-only Server Authentication.  Click the Show... button
    next to "Add Servers to the list", and add the value "Microsoft Virtual Console Service/*" without the double quotes.  Click OK.  Click OK again to exit the dialog box.
    3) Run a command prompt and execute gpupdate /force to refresh the group policy.
    4) Now try to log into a machine in Hyper-V manager with default credentials enabled, and note that you are not prompted.
    Again, I don't know why I had to do this, but it's working fine now.

  • Why can I not use the channel name, which is obtained from the function of DAQmx Task, as the input of the channel name for the function of Get Channel Information of DAQ?

    Why can I not use the channel name, which is obtained from the function of DAQmx Task, as the input of the channel name for the function of Get Channel Information of DAQ?

    Not a lot of details here, but my guess is this isn't working for you because you are wiring in the task to the Active Channels Property and not the actual Channel Name. I have attatched a screenshot of what I believe you are trying to do. The Task has 2 channels in it, so I need to index off one of the channels and wire it into the active channels input of the Channel Property node. Then I can read information about that channel
    Attachments:
    channel_name.JPG ‏69 KB

Maybe you are looking for

  • Content Query Webpart For Slider

    I'm trying to create a simple jquery slider with the help of Content Query Webpart in sharepoint 2013. Can anyone help me on this with a simple video or example like how I can achieve this.

  • My iPad mini won't let me update or download apps ?

    Everytime I try to update my apps or download new ones (which are free), my iPad says there is a payment issue when I then enter my bank details in it says it's declined, there is money in my account and the apps I want and downloads are free ?? It's

  • Adobe form problem

    Please use a more meaningful subject in future Hi Experts, I am creating Adobe Interactive form,when i am saving it and activating it,it 's giving error like "Layout type 'unknown' is no longer valid".will you plz give the solution of this problem. T

  • Adding audio clips in 30 second intervals

    Hello, I'm new to Adobe Premiere Elements and I'm glad to have found a forum with folks who have such extensive experience and knowledge about Adobe!  My situation...I would like to add audio clips ("beep") every 30 seconds to a video. (I want to col

  • Newbie question: sqlca.sqlcode positive or negative?

    Good afternoon, we have a database based application, launching SQL queries on an Oracle 8.1.7 database. These queries return sqlca.sqlcode values, like 0 in case of succesful and 1403/-1403 in case of unsuccesful. Exactly the latter is a problem: th