Determine number of selected channels for traditiona​l DAQ
The blocks of "DAQmx Task" and "traditional DAQ Channel" look quite similar (see attachments). The DAQmx block ist an individual selection of channels and I am able to determine the number of selected channels.
Now I am trying to determine the number of selected channels of a traditional DAQ, but the DAQmx property block does not work here. I did already try some blocks form the trad. DAQ palette but failed.
Any idea?
Message Edited by pgraebel on 07-21-2009 11:31 AM
Solved!
Go to Solution.
Attachments:
DAQ.png 2 KB
DAQ_frontpanel.png 5 KB
The new attachment is showing channels for traditional DAQ (upper) and DAQmx (lower). You can clearly see a selection of channels inside the traditional DAQ box.
How do I determine the number of channels? The DAQmx way to do that does not work for the traditional.
Attachments:
Clipboard01.png 2 KB
Similar Messages
-
Student number as selection criteria for FICA transactions
Hi experts,
Is it possible to have the student number as a selection criteria for FICA transaction, for example for payment assignment, among others?
Do you have a coding example?
Regards.FUNCTION CMAC_EVENT_0210.
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_SELTAB) LIKE ISELTAB STRUCTURE ISELTAB
*" TABLES
*" T_SELTAB STRUCTURE ISELTAB
*" EXCEPTIONS
*" UNKNOWN_SELECTION
DATA: ld_student12 TYPE piqstudent12,
ld_partner TYPE bu_partner,
ld_student(12) TYPE n.
IF i_seltab-selfn <> c_student12.
RAISE unknown_selection.
ELSE.
to get leading zero's move the student number in a NUMC-field first
ld_student = i_seltab-selcu.
ld_student12 = ld_student.
CALL FUNCTION 'HRIQ_CMACBPST_SELECT_WITH_STID'
EXPORTING
IV_STOBJID =
iv_student12 = ld_student12
XREAD_BUFFER = 'X'
IMPORTING
ev_partner = ld_partner
EXCEPTIONS
student_not_found = 1
INVALID_PARAMETER_ASSIGN = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
i_seltab-selfn = 'GPART'.
i_seltab-selcu = ld_partner.
CLEAR: i_seltab-xsfex,
i_seltab-selco,
i_seltab-selwu,
i_seltab-selwo.
APPEND i_seltab TO t_seltab.
ENDIF.
ENDIF.
ENDFUNCTION. -
I recently updated to Final Cut X 10.1. I had a project for which I was heavily editing the audio, so I was using the "detach audio" feature and in some cases deleting the audio track. Now, when I try to go into the timeline and relink the movie files (which weren't linked automatically after update), the original media won't relink because "the original file didn't have audio, but the new file does."
Is there anyway to edit the misreferenced file so it beleives it has an audio track?
Thank you for any and all suggestions. I really don't want to start this edit over from scratch.
BenThanks for the responses, guys. I guess I wasn't really all that clear. Something to do with FCP 6 and the Kona III card is telling FCP to set up each project with 16 channels of audio - and ONLY 16 channels of audio. Anywhere that there is a drop-down or check box, the drop-down or check box is either grayed out or only provides choices centered around 16 channels of audio. So, for example, let's say I go to the "Capture Presets" tab under "Audio/Video Settings" and click on "Edit" to modify the current preset. Under "QuickTime Audio Settings," I select "AJA Kona" as my device. Then, under the "Format" drop-down, I have four possible audio formats to choose from - ALL of them showing 16 channels (e.g. - "48.000 khz 24-bit 16-channel"). Nowhere is there an option of selecting, say "48.000 khz 24-bit 2-channel." Everything under every tab specifies 16-channel. So, as a result, I can't tell it to disable the fourteen tracks that I'll NEVER use. I even tried starting with the "Generic" settings tab, used to create your own presets, and even that would ONLY allow me 16-channels - and I couldn't over-ride it!
So far, the only way I've found to work around this is to manually go in and turn off the little green nodes indicating which audio track(s) you don't want to capture. The problem is, every time I have to do this, I'm manually turning of FOURTEEN audio channels.
Hope this helps clarify...
Tim Walton
KVIE Public Television -
How to execute get selected channel for LeCroy Waverunner using VBS
Hi All,
I am trying to get which channel (1 or 2 or 3 or 4) is selected in Oscilloscope?
I tried to get the View property of the channels like below:
app.Acquisition.C1.View // but there can be multiple channels whose view property is also true.
My problem is there can be more than 1 channels whose view property is also True (depend on if you toggle the channel or not). So I am unable to identify which channel is selected . (Here selected means - light on)
Thanks in Advance
RahulPLEASE DON'T CREATE DOUBLE POSTS! (As has been said before!)
Stick with your original threads! (here, here, here)
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Counter channels for NI 6343 DAQ
I have the NI 6343 DAQ using labview 2013. When I try to create a counter channel it lists channels ctrl0 through ctrl3. However they are not listed on the pin out for the DAQ - what physical channels are they on the pin out? I'm assuming they are part of the PFI0-15.
Hi jliu317,
You can use the DAQmx Channel Property node in LabVIEW (or the equivalent in text-based languages) to choose the terminals you want the input or outputs of the counter to appear on. A good example of this can be seen in the Counter - Read Pulse Width and Frequency (Continuous).vi example in the Example Finder. This example is available under Hardware Input and Output»DAQmx»Counter Input.
If you don't specify the terminals, the counters will use the defaults as shown in the pinouts.
Best Regards,
Matthew B.
Applications Engineer
National Instruments -
Using MASSG to determine number ranges in NUMKR
Hi,
I am trying to get NUMKR to determine number ranges using reason for action(MASSG). A new business unit is coming onboard and need to keep their existing staff numbers. Therefore two number ranges were set up. 01 for external and 02 for internal.
A reason for hire action exists with the reason 99 - Data migration.
NUMKR is set as follows.
If MASSG = 99 and employee group = 1 then choose number range 01 otherwise if MASSG <> 99 and employee group = 1 then choose number range 02.
However when running PA40. This does not work and it ends up always picking the otherwise option.
Has anybody else experienced this?
Thanks in advanceHi David
There seem to be an error while setting the feature. You are adding another condition of EG=1 in the otherwise & that is probably causing an error. Can you set the feature as follows:
Country Code = 99 > EG =1> MASSG = 99 --> 01 otherwise 02. And the otherwise that you get at the country code level =02 unless you have other country Molga's defined. Please check that all the employees that you are trying to get into the system initially are EG =1 else it will not work. After creating the feature & ensuring that the feature is error free, activate it.
Regards
UR -
Determine number of channels on a DAQ card
Is there a function to determine the number of channels on a given DAQ card?
I found no native function to get this attribute; you can use DAQmxGetDeviceAttribute with DAQmx_Dev_AI_PhysicalChans attribute to get a list of available channels on a device and then parse the string counting channels. The following lines can be executed in the Interactive Execution window: provided the device name is correct they count how many input channels are present on the board:
#include <ansi_c.h>
#include <utility.h>
#include <NIDAQmx.h>
static int i;
static char msg[512];
static char *token;
DAQmxGetDeviceAttribute ("Dev1", DAQmx_Dev_AI_PhysicalChans, msg, 512);
i = 0; token = strtok (msg, ",");
while (token) {
i++;
token = strtok (NULL, ",");
DebugPrintf ("# of channels: %d\n", i);
The same function has equivalent attributes for analog outputs, counters and digital I/O lines / ports.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
I cannot select my phone number in my appleID for imessages!
i cannot select my phone number in my appleID for imessages, and i dont know why! its there but will only let me pick my email address. and when i try and change the phone numbers in my appleID settings, it says i have invalid phone number, when i KNOW it is valid.
please help!!Hi Tia8,
If you are having issues with iMessage and your phone number, you may find the following article helpful:
iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
http://support.apple.com/kb/HT5538
Regards,
- Brenden -
How to determine number range for billing document based on company code ..
Hi Friends!!
can anybody tell me how to determine number range for billing document based on company code & tax departure country if required??
Amit...plz help me!!Hi Amit,
1. Define different Billing Document number ranges in SPRO -> Sales & Dist -> Billing -> Define number ranges for billing docs. (VN01). Make sure that all are internal number ranges.
e.g.
NO. From number To Number Current number Ext
A1 0930000000 0930999999
A2 0940000000 0940999999
A3 0950000000 0950999999
2. Define a Ztable ZNUMB_RANGE as follows
Comp. Code | Tax departure country | Billing Doc Type | Number Range
100 IN F2 A1
200 IN F2 A2
200 US F2 A3
3. In user exit RV60AFZZ (USEREXIT_NUMBER_RANGE)
Read table ZNUMB_RANGE for Number Range with Comp. Code, Tax country and Billing Doc.
If found pass this number range value to us_range_intern.
us_range_intern is a standard SAP variable which tells program which number range use to create the current document which is under process.
Let me know if you are clear.
Thanks,
Mandar -
Trying to edit my payment info. I keep getting the message that my number is not valid for the type of card I have selected. I have a VISA card. I have typed in the number 4 times, but same message pops up.
Thoughts?You are probably entering your Visa's security code incorrectly. Here's how to find it:
http://support.apple.com/kb/HT3541 -
For some reason my phone is using another number and won't let me delete the number and select my own numbers. Any reasons why
Are you talking about iMessage?
-
How to know Sales Organization and distribution channel for a material
How to know Sales Organization and distribution channel for a created material
Hi,
For a single material means u can go mm03 7 select the material number 7 select the sales views then press f4 the details u can see.
For any number of materials u can go to se11 & give table name MVKE then select the required parameters & execute.
pandari -
Can any one send select query for this?
Hi,
can any one plese send select query for the following query.please send as early as possible.
Loop through the I_BSID internal table to fill records in I_OUTPUT.Combine data from I_BSID, I_KNKK, I_KNKK_KNKLI, I_KNA1 and I_KNVV into I_OUTPUT based on the linking conditions .Field Description Source are
I_OUTPUT-BUKRS Company code I_BSID-BUKRS
I_OUTPUT-KUNNR Customer number I_BSID-KUNNR
I_OUTPUT-NAME1 Customer Name I_KNA1-NAME1
I_OUTPUT-KNKLI Credit account I_KNKK-KNKLI
I_OUTPUT-KDGRP Customer Group I_KNKK-KDGRP
I_OUTPUT-KLIMK Credit Limit I_KNKK_KNKLI-KLIMK
I_OUTPUT-KVGR1 Business Unit I_KNVV-KVGR1
I_OUTPUT-REBZG Invoice Number I_BSID-REBZG
I_OUTPUT-BLDAT Invoice Date I_BSID-BLDAT
I_OUTPUT-WAERS Document Currency I_BSID-WAERS
I_OUTPUT-DUE_DATE Due Date Based on below
Calculation
Get the Payment terms days combining I_BSID and I_T052 based on the linking conditions mentioned above. Note : a) Baseline Date : If baseline date I_BSID-ZFBDT is blank , use the Document Date.b) Payment Term Days :If I_BSID-ZBD3T is not blank, take this as Payment Term Days for Due date calculation.
If I_BSID-ZBD3T is Blank, then get payment term days from I_T052 based on I_BSID-ZTERM. If there are more than one record in I_T052 for the given Payment term, get the day part from baseline date and select the first record where the day limit I_T052-ZTAGG is greater than the day part.If I_BSID-ZBD3T is blank and I_BSID-ZTERM is also blank, then take Y000 (Due Immediately) as Payment term and proceed with the above logic. Set the payment term field blank while printing.
Calculate Due date : For Debits, Determine Due Date = Baseline Date + Payment term Days(not discount days) For Credits Due date = Baseline date.Then, move the amount I_BSID-DMBTR to respective buckets (Not yet Due, Current Due, Past due 1-30, Past Due 31-60 etc.) Based on the due date.
Thanks&Regards,
praveen kumar.AHI,
To get Open Items you can use Function module:
data:i_items TYPE STANDARD TABLE OF rfpos.
CALL FUNCTION 'CUSTOMER_OPEN_ITEMS'
EXPORTING
bukrs = p_bukrs
kunnr = wa_customer-kunnr
TABLES
t_postab = i_items
EXCEPTIONS
no_open_items = 1
OTHERS = 2.
Table I_items will have all the open items for that Customer in the given company code.
Well for Clear Items: Try
GET_CLEARED_ITEMS or FMITPOFM_CLEARED_ITEMS_GET.
Hope it helps.
Manish -
ACK_ channel for handling ALEAUD back to ECC system
Hi,
I have created a channel called ACK_Receiver_XI_TO_ECC for sending ALEAUD for all IDOC's that are received from ECC to XI. I also have another receiver IDOC channel for all IDOCs that are sent from XI to ECC. I read in one of the pdf's that when there are multiple receiver IDOC communcation channels, the one starting with Ack_ is chosen to send the ALEAUD. But in my case, in Development and QA system it is correctly picking the Ack_.. channel but in production it is picking the other receiver IDOC communication channel. Any ideas why and how this can be rectified? I have the "Restore original parties.." option checked on the Ack_.. one and not on the other so the selection of the other in production is giving me the "Unable to convert sender service to ALE logical system" error.
Thanks
ramHi Ram,
>I also have another receiver IDOC channel for all IDOCs that are sent from XI to ECC. I read in one of the pdf's that when there are multiple receiver IDOC communcation channels, the one starting with Ack_ is chosen to send the ALEAUD
I dont think so, the channel will be determined by the Receiver Agreement. If you have more than one what are valid for a message, that is take which is less generic. For example, if you have 2 Receiver Determinations and you type in the first at Receiver Interface a joker (*) and in the second for Receiver Interface a certain value the second Receiver Determination will determine the channel. This is a general rule for IB objects and allows to create generic rules but having exceptions.
Please compare the Receiver Determinations in the different transport layers.
"Unable to convert sender service to ALE logical system" means, that your sending system has no value for logical system. Control that at Business Component, Adapter Specific Identifier. If the sender is Business System, correct that at SLD and reimport the system.
Regards,
Udo -
Material determination Vs Product selection
Hi
What is the difference between Material determination and Product selection ?
Regards
MaheshHello Mahesh,
<b>Material determination or Product selection</b>
1. Material determination <b>(sometimes referred to as product selection)</b> is a method in SAP-SD to substitute or swap one material in the sales order for another using the condition technique and is triggered by the material entered in the line item of the sales order. Material determination can also use a pop-up window with a number of products the user can choose from the list.
2. Material determination can be automatic or manual and is used
When an old product is becoming obsolete (outdated) and the business is releasing a new product in its place starting from a specific date. In this case the old item gets automatically replaced by the new item in the sales order.
You may configure the system to automatically to swap one material for a number of other materials, the one material being determined based on which one is available.
It is also possible to swap the material for a number of materials, where the user is presented to choose from the list.
Material determination is specifically useful should you wish to swap your customers part number automatically for your own at the time of the sales order.
<b>The functionality of manual and automatic product selection is available during material determination.</b>
a. Reason for substitution 0005: manual product selection (list of default values)
b. Reason for substitution 0004 & 0006: automatic product selection (depends on product availability in order and delivery)
In manual product selection (0005), the system does not automatically replace the product. Instead, it displays a list of all the substitution materials and other information in the master record doing the availability check such as quantity available that can be confirmed on the customers requested delivery date and if the full quantity cannot be met, the system proposes a new date on which the material can be completely delivered. You can then select the required material from the list.
During automatic product selection (0004 & 0006) the system replaces the entered material automatically if it is not available. When you enter an order, the system tries to fill the quantity of the order with the first material in the material determination master record. If there is no enough quantity available then it fills the remaining quantity with the next material.
You can choose whether or not to run the material determination during the delivery process for the same material, as the result of the substitution may change due to the new availability situation of the material.
<b>Reward if helps</b>
Regards
Sai
Maybe you are looking for
-
Hi There, how do you improve the resolution of the macbook for an external monitor. I know you can go up to 1900*1200 but I don't see this resolution in the monitor preferences. The max I can get it 1280*1200. I have an external monitor ( samsung 225
-
WiDi on the W520 and Windows 8
I have W520 and I am trying to get Intel WiDi working on Windows 8. In the past I was using WiDi on Windows 7 with no problems, but since I upgraded to Windows 8 I am unable to get it working. I installed the latest version of PRO Wifi (Wireless_15.5
-
Technical Names appearing in the report output
Hi Experts, I am in support and got a strange case. When one of the users runs the report in web, he sees technical names of the fields instead of their description. On the contrary, when I run the report, everything comes fine. I don't know where th
-
Web Dynpro & case sensitive selection of Adobe Forms
Hi Community how can I solve this issue: I have a Web Dynpro View with a button. Clicking this button generates a Adobe form and displays it. So long everything's fine. Here's my problem: There are 4 different case sensitive forms in dependence of th
-
I am running OS X Yosemie 10.10.1 Processor 2.8 HHz Intel Corei5 Graphics ATI Radeon HD 5750 1024 MB Memory 4 GB 133 MHz DDR3 I have Photoshop CS6 extended, but the Repoussé in the 3D menu is not there can anyone help?