Changing the cDAQ9138/9 "USER1" LED status using C#/DAQmx
I need to be able to change the status of the USER1 LED on a cDAQ9139 chassis from my VS2010 C# application code. Can anyone point me in the direction of the DAQmx class/property/method I need to use?
Thanks,
Malcolm Sharp
Solved!
Go to Solution.
Hi Malcolm,
Taking a look into this it looks like unfortunately the USER1 led is only available for access from the Real-time operating systems. There is no access to it available from the DAQmx driver, when running windows on the cdaq.
Best Regards,
Applications Engineer
Similar Messages
-
What's a polymorphic terminal and why can't I change the colour of an LED?
Hi,
I've written a small vi to experiment with changing the
colour of an LED from the front panel by the user. (See attached.)
I've created a property node for the LED indicator and selected the 'Colors[4]' property.
I've then selected the 0th element of the array using 'Index Array' and used this as the cluster type on 'Bundle By Name' but no names appear in the elements.
When I then try to wire a colour box to the input of Bundle By Name I get a broken wire and the message: "This wire connects to a polymorphic terminal that cannot accept this data type".
And yet when I hold the mouse over the wire from the output of index array so it's just looking at one element of the colors[4] array in the help window I'm told it's a cluster made up of two U32's. Individually these are the same data type as the output from the colour box.
What's a polymorphic data type and what's the correct way to wire from the colour selection box to the Colors[4] property of the LED so the colour can be changed?
Any help much appreciated.
Thanks,
Dave.
Attachments:
LED_colour.vi 25 KBDave,
A couple of comments.
As CC said, you need to use the plain bundle node.
If you want to change the "ON" color, you need element 1, not zero.
Property operations should only be done exacly once whenever something changes, not 10000 times/second. Use an event structure.
See attached (LabVIEW 7.0). Modify as needed.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
LED_colourMOD.vi 34 KB -
How to change the print page setup in IE using javascript
dear all,
I want to take print out envelope paper size, so i want to chnage the page setup in IE
i want to change the print page setup in IE using javascriptI think, you can do this using CSS.
http://support.sas.com/rnd/base/ods/templateFAQ/Template_csstyle.html -
How to replace/Change the JMS MSG ID in MQ using JMS Receiver Adapter
Hi Experts,
I am working on File to JMS Scenario,
My Requirement i need to chnage the JMS Message ID(not XI Msg ID) Value with My custoimer specific Value,
How can i achieve this??
any valuable inputs welcome,
Thanks advance,
RajThanks for your reaply,we can change the value of XI MSG ID using Dynamic Configuration,
Then set the XI MSG ID and then make use of the correlation settings
From the help section:
Correlation Settings
Define the correlation settings.
· Set JMSCorrelationID To:
¡ XI Message ID (MessageID) (default value)
¡ XI Reference ID (RefToMessageID)
¡ XI Conversation ID (ConversationID)
¡ No Value
But cant we directly make use of the ASMA to configure DCJMSCorrelationID?
Regards,
Abhishek. -
Can we change the bound location of an operator using OMB?
Hi,
I'm trying to change the location of an table operator using the following code:
OMBALTER MAPPING 'MAP_NAME' MODIFY OPERATOR 'TABLE_TEST' SET PROPERTIES (database_link) VALUES ('PROJECT1/SOURCE1/TEMP_TABLE3')
OMBCOMMIT
OMBPlus tells me that the command ran successfully. But if i take a look on the design center, the change didn't occur. The old location for the operator remains.
Am i using the right property type? database_link?
Thank You!
FilipeWhat you've run only change the link location. It doesn't change the bound location.
I've write an OMB scripts to automate the changing of bound location within different project .
set OMBPROMPT ON
OMBDCC
OMBCC '/'
set projects [OMBLIST PROJECTS]
puts -nonewline "Please enter the Project Name ($projects): "
gets stdin projectName
set path [lindex [OMBDCC] 1]
OMBCC '$projectName'
set modules [OMBLIST ORACLE_MODULES]
puts -nonewline "Please enter the Module Name ($modules): "
gets stdin moduleName
puts "================"
puts "Finding on Module $moduleName"
set path [lindex [OMBDCC] 1]
set no_mod 1
OMBCC '$path/$moduleName'
set no_map 1
puts "Find $moduleName"
foreach mapname [OMBLIST MAPPINGS] {
foreach klname [OMBRETRIEVE MAPPING '$mapname' GET OPERATORS] {
set bname [lindex [OMBRETRIEVE MAPPING '$mapname' OPERATOR '$klname' GET BOUND_OBJECT] 1]
set oname [lindex [OMBRETRIEVE MAPPING '$mapname' OPERATOR '$klname' GET BOUND_OBJECT] 0]
# PTI_DW_TST is the name of project orig bound
# PTI_DW is the name of project destination bound
set result [regexp {^(/PTI_DW_TST)+} $bname match]
if { $result == 1 } {
set myresult [regsub {^(/PTI_DW_TST)+} $bname "/PTI_DW" new_bname]
#puts "$klname ($oname) : $bname => $new_bname"
OMBRECONCILE $oname '$new_bname' TO MAPPING '$mapname' OPERATOR '$klname' USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_NAME')
puts "Reconcile Mapping $mapname change $bname to $new_bname for operator $klname with type $oname"
incr no_map
OMBCC '/' -
Can I change the administrator password on Snow Leopard using Tiger discs
Hi, I had a fault with my mac and the o/s had to be reinstalled. The shop put Snow Leopard on my mac and I changed the password which I later forgot. My mac instructed me to input the install discs etc but I only have my original Tiger Install discs. I rang the shop but they say they are not allowed to change the password but that I can do it with my old discs.
I tried to reset it but it wouldn't work and on only the first occasion when I restarted with the disc and by pressing C on reboot etc did it launch into the 'select language' etc. Now every time I try, it just starts normally.
Is there any way I can change the administrator password on Snow Leopard using my Tiger discs? thanksWhy didn't the "shop" give you the Snow Leopard system discs? You need those to troubleshoot. Especially if you need to use Apple's Hardware Test. Strange.
http://support.apple.com/kb/HT2558
http://docs.info.apple.com/article.html?path=Mac/10.6/en/11627.html
Check Knowledge Base for other solutions. -
Getting Error after changing the recalculation date in retropay status page
We run Retro-Notifications Report (Enhanced) - PDF and one record came with the recalculation date as 01-JUL-2009 ( Hiredate). We want his retro should be calculate from 12-Jan-2010. When we are changing the recalculation date of this employee in HRMS Super User -> View-> Retropay Status page it is giving a error like that.
Error :
You cannot update to this recalculation date for the assignment because it contains one or more elements with an earlier recalculation date. Please choose an assignment recalculation date that is the same as, or earlier than, the recalculation date of all the individual elements.
Please suggest in this case.
We are using Oracle 12.0.6.Entry or hiring date
This is date which is being posted to FI so it will not allow to change the old data
Even if you try to do so the retro will start from this date and will trow errors
Reward points -
Change the input parameter in Check Status screen
Hi,
I have a requirment to change the input parameter option in the check status screen. Currently when we search the SC using the date and staus from the extended search it picks the SC created date and displays the SC, my requirement is to make the date as the approved date insted of SC created date with the status as aprpoved.
Please suggest if this is possible with the help of any Badi.
Regards
GGLI managed to find the solution myself. If anyone is interested, just follow those steps here:
http://apple.stackexchange.com/questions/44913/make-a-custom-keyboard-layout-the -system-default-even-for-the-login-screen
(terminal skills required tho) -
I need to change the height of a Captivate playbar using Flash Pro
I need to change the height of a playbar in Adobe Captivate. I have Flash Pro. I am very new to Flash Pro. I read.. "To change the height of the playbar, adjust the height of pbcBk_mc movie clip inside cpPlaybar symbol in Library". The problem is I CAN'T FIND pbcBk_mc anywhere. I see the cpPlaybar attrbute. When I click on it and look at the timeline I am not seeing an attribute for pbcBk_mc or height. Where in the world is it??
You start with a source / authoring file for the "static" content (e.g., Name, Last:). Say this is an MS Word file.
You master the "static" content..
You keep this authoring file and have a backup of this file.
You output a PDF and use Acrobat to build and fine tune the "form" (form = the form fields, not the "static" content).
The authoring file and output PDF (with form fields) gives you "rev 00".
Now, you must change something in the "static" content.
Open the authoring file and save as to a new version (e.g., "wordfile_v00" becomes "wordfile_v01).
Output this to "pdffile_v01".
Use Acrobat to open the PDF form file "pdffile_v00". Save As to a new file name ("pdffile_v00update").
Using Acrobat XI Pro the click-path Tools - Pages - Replace lets you replace a page or pages of "pdffile_v00update" with a page or pages from "pdffile_v01".
This replaces the "static" PDF page content and does not affect the form fields on the page.
(you may have to adjust position of form fields)
Save "pdffile_v00update" to "pdffile_v01" to reflect the revised status of the PDF form file.
Be well... -
Sales Order - Returns change the sales order item delivery status
Hi All,
we have the following requirement from our users:
after creating a return, the original sales order should have the
delivery item status changed.The system should permit that a new
delivery can be created for sales order item already delivered / billed (a new delivery with the quantity that has being returned) but has a return document,
without increasing the sales order quantity.
Does any body got the same requirement ?
Thanks in advance,
MarcusHi Marcus,
After creating return order you have to do the goods receipts.But this doesn't mean that you will be able to create a delivery with the old order itself.
You have to create the order again and ahve to create a new delivery,goods issue and billing.
Another option is as Roberto said that you have to reverse the goods issue thru VL09 and then cancel(delete) your delivery and then you can create a new delivery wr.t to your original sales order.
Reward points if it helps.
Regards
Karan -
How to change the open quantity of PO / STO using BAPI_PO_CHANGE
Hi Friends,
How can I change the open quantity in ME22 using the BAPI BAPI_PO_CHANGE...
I am getting some errors..The values I am passing to the BAPI are:-
*-- Purchase Order document
lv_purchaseorder = tbl_join-ebeln.
*-- Calculate Open quantity
lv_quantity = ( tbl_join-menge - tbl_join-wemng ).
*-- Fills Schedule quantity to be processed.
tbl_poschedule-po_item = tbl_join-ebelp.
tbl_poschedule-sched_line = tbl_join-etenr.
tbl_poschedule-quantity = lv_quantity.
APPEND tbl_poschedule.
*-- Marks the Schedule quantity to be processed.
tbl_poschedulex-po_item = tbl_join-ebelp.
tbl_poschedulex-sched_line = tbl_join-etenr.
tbl_poschedulex-po_itemx = c_true.
tbl_poschedulex-sched_linex = c_true.
tbl_poschedulex-quantity = c_true.
APPEND tbl_poschedulex.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
PURCHASEORDER = lv_purchaseorder
POHEADER =
POHEADERX =
POADDRVENDOR =
TESTRUN = 'X'
IMPORTING
EXPHEADER =
EXPPOEXPIMPHEADER =
TABLES
RETURN = tbl_return
POSCHEDULE = tbl_poschedule
POSCHEDULEX = tbl_poschedulex.
Is there any other required fields needs to be passed to change the open quantity..
I am checking in ME22...
The scheduled quantity is 20.
Delivered quantity is 15.
Open quantity is 5 and ( this field is in non-editable display )
Delivery date is 10.10.2002 ( which is in past )
Now using this BAPI ..I want to post the remaining open quantity which is " 5 "
How can i do this ?? Please help.Hi Hari
Please check after making the following changes:
*-- Marks the Schedule quantity to be processed.
tbl_poschedulex-po_item = tbl_join-ebelp.
tbl_poschedulex-sched_line = tbl_join-etenr.
<b>tbl_poschedulex-po_itemx = 'U'. "c_true.
*tbl_poschedulex-sched_linex = c_true.</b>
tbl_poschedulex-quantity = c_true.
APPEND tbl_poschedulex.
If still you do not get the desired function working add the below code:
tbl_poitem-po_item = tbl_join-ebelp.
tbl_poitem-quantity = lv_quantity.
append tbl_poitem.
tbl_poitemx-po_item = tbl_join-ebelp.
tbl_poitemx-po_itemx = 'U'.
tbl_poitemx-quantity = c_true.
append tbl_poitemx.
Hope this helps.
Kind Regards
Eswar -
How to change the pick quantity in outbound delivery using bapi
Hi,
I am using BAPI_OUTB_DELIVERY_CHANGE for changing the outbound delivery picking quantity but there is no field to change the pick quantity.
plas advice any BAPI to change pick quantity
Regards,
KrishnaKrishna....have a look in the below threads where there was a similar requirement..
error while using BAPI_OUTB_DELIVERY_CHANGE
change outbound delivery -
How can I change the window size of iTunes on my iMac? Used to be easy before installing Mavericks.
If you want to make the itunes tab so you can see the dock
you press the
esc
button if your in full screen mode
if you want to get into full screen mode you press the arrows facing away from eachother in the top right corner
there is another way to get to the normal tab if your in full screen
make the curser go right up to the top of the screen and it will show the apple tab
it will have two arrows facing together highlited in blue
if u tap that it will take you to the normal tab -
How do I change the phone number that ipad is using for iMessage and FaceTime
Since the latest iOS update my ipad uses my husbands phone number for iMessage and FaceTime. How do I change the phone number to match my iPhone?
Sign out of FT and iMessage on both your iPad and your iPhone. Sign back in on the iPhone. Wait for everything to activate. Then, sign back in on the iPad using the same Apple ID.
-
How to change the style of a single component using oracle skin Jdev 10.1.3
my hole applications is using oracle skin, I only need to change the color of the menuTab, but I don´t want to create a new skin family...
I tried this link http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/index.html
but the dont tell how to create adf-faces-skins-doc.xml
how is that possible?, please I need help....Hi,
Ack, I forgot that 10g doesn't have inheritance support either... You'll have to create an XSS file I think, and those are obscure... Also 10g generates image files for menuTab... I think you'll have to create a brand new skin family, sorry :(
Regards,
~ Simon
Maybe you are looking for
-
files created in Adobe Photoshop 07 won't open in Elements 10. What's wrong? I bought it so that I could open these files.
-
ITunes 10.4 and Delete Key
Has anyone noticed this? Before iTunes 10.4 you were able to just highlight an artist or album under the column browser and press delete and it would delete it. It seems not to work now. Am I the only one that has this issue? Doesn't seem to work und
-
How to update Credit profile of a Business Partner(BP) In ECC
Hi, We have a requirement to Update the Credit Profile of a BP in ECC. I couldnt find a BAPI or a FM to update the credit profile of a BP. Any input on this will be helpful. Regards, Raj
-
Can I bypass Iphoto and place my photos directly into Photo Elements 4
I take pictures with a Nikon D200 and I set the camera to shoot in JPEG and Raw at the same time. I would like to work with the Raw in Photo elements 4 and use my Iphoto for email. Is there a way to transfer photos directly from my camera to Elements
-
Credit Memo to Deferred Revenue is not amortizing correctly
We issued a Credit Memo to a client related to an invoice that was originally deferred over 80 months straightline. When we issued the Credit Memo it is not taking debits to Revenue until 3 years down the road. When in fact it should be debiting Reve