Is there a DAQmx function to duplicate the traditional DAQ "Index.vi channel".
I've been converting an old app using traditional DAQ to DAQmx. It's a complicated piece of code and makes installation of all available channel group config, then the user selects the specific ways to acquire data on. It uses the "Index.vi channel" to achieve this. Is it possible to replicate this feature in DAQmx, or will I have to rewrite the whole mess? Thank you.
Thank you aNltaB. I was able to implement a task with the necessary channels for each thing that I did and circumvent the need to configure all channels and then indexing them. I didn't know how it was all rooted in the program, but make the separate tasks seems to work well. As far as I am concerned, this issue is resolved.
Tags: NI Hardware
Similar Questions
-
Difficult to see the details for the traditional DAQ functions
I'm migrating a Tradtional DAQ to DAQmx applications and manage to LV 8.6 to see 'details' for traditional data acquisition functions. I looked to the traditional manual online user DAQ & a few other pubs and impossible to find a good explanation, parameters of entry and exit to functions. Can someone help me?
Thank you... PacMan
In talking with Kent Lau, an applications engineer at NOR, told me I was missing the file nidaq.chm for a reason any. Even after trying it from reinstalling drivers traditional DAQ of Q4, 2008 software distribution, it is still missing. So, I installed an older version of the driver on a computer that has never had LabVIEW, then copied the file nidaq.chm in the folder 8.6\Help of LabVIEW & was able to then see the traditional DAQ work details. Thanks Kent!
-
Why CVI have of file manipulation functions that seem to reproduce the functionality of the ANSI C functions?
Is there an advantage to using the CVI functions?
As the CVI was released (1987), until the ANSI-C standard is released (1989) maybe the question should be the other way around!
In those early days, CVI was supposed to be cross-platform, so it was logical to develop a set of libraries that operate in the same way across the different computers it was targeted at. These days, the focus seems to be primarily under Windows, so this philosophy at the beginning is a bit redundant, especially, as you say, with the widespread adoption of ANSI-C.
Personally, if there are similar functions in CVI, and ANSI, I'll go for the ANSI, whenever for portability of the reasons, but yet I write code in a number of different programming environments.
JR
-
Function to count the total number of data channels
I know that I had stumbled on a tiara function that returns the number of data in all of my data channels. I can't seem to find the thread where I had seen it. I'm looking to replace a script a long time user with this simple function in my future coding.
Thank you!
Hi CrshTstr,
I actually still use GlobUsedChn for that. In more recent versions of DIAdem, you can use commads as GroupChnCount() or Data.Root.ChannelGroups (1). Channels.Count to return the number of channels in a particular group. But regardless of which group the channels are in the GlobUsedChn variable always returns the total number of channels currently on the data portal.
Brad Turpin
Tiara Product Support Engineer
National Instruments -
Mathmatical function to return the value in injectors
Hello
I have obliged. If value for ex Lake 4400000, he should return as 4.4millions even for billions.
is there an oracle function to return the value in this format. ???Hello
When I want to have a "readable" released in large numbers, I use to do the following:
Scott@my11g SQL>with t as ( 2 select 3456123456 n from dual 3 union all select 4567123 from dual 4 union all select 123465 from dual 5 ) 6 select n, case when n>1000000000 then trunc(n/1000000000,1)||' Billions' 7 when n>1000000 then trunc(n/1000000,1)||' Millions' 8 else to_char(n) end fmtn 9 from t ; N FMTN ---------- ------------------------------------------------- 3456123456 3.4 Billions 4567123 4.5 Millions 123465 123465
------
* + [change] + *.
Moreover, lakh [url http://en.wikipedia.org/wiki/Lakh] has no meaning outside of South Asia.
Especially for a French man like me, grown with [url http://en.wikipedia.org/wiki/International_System_of_Units] International system of units that is fighting against what I call "funky" measures empirical such miles, yards, feet, inches, just not multiple of 10³
Same billion mean differ depending on the country (see [url http://en.wikipedia.org/wiki/Long_and_short_scales] long and short scales)Just for "fun": [url http://articles.cnn.com/1999-09-30/tech/9909_30_mars.metric.02_1_climate-orbiter-spacecraft-team-metric-system?_s=PM:TECH] this is what can happen when we do not use the same system of units.
-
still no function zoom in the Titler first?
Is there still no function zoom in the Titler window Pro first short to enlarge the window itself? I am using CS4 but never saw a possibility of zoom from v6.5. Isn't about time?
still no zoom in the pane title CC 2017, feature request
-
Function that return the name of the current report
Hello
Anyone know if there is a function that returns the name of the current report?, similar to GET_APPLICATION_PROPERTY (CURRENT_FORM) in the forms.
Tnks,
LEFMHello
You can use the builtin: SRW. GET_REPORT_NAME
This function returns the file name of the running reporthttp://www.Oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/PLSQL/builtins/SRW/srw_get_report_name.htm
NOTE: it is not the name of the RDF file. Is the name defined in the reporting name property.
Concerning
-
There are the functional differences between the trial and the full version?
There are the functional differences between the trial and the paid version for Labview 2009? Thank you.
He described the Labview eval version limitations: Limitations of the Evaluation Version of LabVIEW
See you soon,.
-
(1) is there a function for all the object of the same size?
(1) is there a function for all the object of the same size?
Sorry, I thought you wanted to align the objects.
We do not have the function to make items of the same size. You must change one by one. To change the .lks file may be more effective.
-
Is there a function to adjust the length of a string to 8 multiple bytes?
Hello
I have a function to encrypt a password.
FUNCTION encodeit (p_name IN VARCHAR2, p_password IN VARCHAR2) RETURN VARCHAR2 IS l_password VARCHAR2 (4000); l_salt VARCHAR2 (4000) := 'hdjikndbbhitasuihfnnkqyhiplwmneuyndnloidj'; BEGIN l_password := UTL_RAW.cast_to_raw ( DBMS_OBFUSCATION_TOOLKIT.md5 ( input_string => p_password || SUBSTR (l_salt, 10, 13)|| LOWER (p_name)|| SUBSTR (l_salt, 4, 10))); RETURN l_password; END;
I want to decrypt the password to send to users when they forget it. I wrote this function:
FUNCTION decodeit (p_name IN VARCHAR2, p_password in VARCHAR2) RETURN VARCHAR2 IS l_salt VARCHAR2 (4000) := 'hdjikndbbhitasuihfnnkqyhiplwmneuyndnloidj'; BEGIN RETURN DBMS_OBFUSCATION_TOOLKIT.desdecrypt(input_string => p_password || SUBSTR (l_salt, 10, 13)|| LOWER (p_name)|| SUBSTR (l_salt, 4, 10), key_string => l_salt) ; END;
The problem is that the DBMS_OBFUSCATION_TOOLKIT.desdecrypt function needs a multiple of the input string of 8 bytes. And p_name and p_password are not of fixed length. Is there a function to adjust the length of a string to 8 multiple bytes?
Best regards.
They used to work - could be almost ten years (I think version 9 - not tested yet)
As you can see, you can 'encode' the number of characters, padded in order to set the right length of the decrypted string
create or replace FUNCTION ' CRYPTIN "(p_str in varchar2) return varchar2 as". "
l_data VARCHAR2 (255);
function pad_DES (p_string in varchar2) return varchar2 is
-platelets p_string with pad_chr containing the number of characters padded (1 to 8)
-make the string length a multiple of 8 as required by decipher
pad_length pls_integer;
pad_char char: = chr (0);
pad_chars varchar2 (8);
Start
pad_length: = 8 - mod (length (p_string), 8);
pad_chars: = chr (pad_length);
Return concat (p_string, rpad (pad_chars, pad_length, pad_chars));
end;
Start
l_data: = pad_DES (p_str);
dbms_obfuscation_toolkit. Decrypt (input_string-online l_data, key_string => 'MagicKey' encrypted_string-online l_data);
return UTL_RAW. CAST_TO_RAW (l_data);
end;
create or replace FUNCTION ' CRYPTOUT "(p_str in varchar2) return varchar2 as". "
l_data VARCHAR2 (255);
function unpad_DES (p_string in varchar2) return varchar2 is
-Removes from p_string upholstered characters (1 to 8)
pad_length pls_integer;
Start
pad_length: = length (p_string);
pad_length: = pad_length - ascii (substr(p_string,pad_length,1));
Return substr(p_string,1,pad_length);
end;
Start
l_data: = p_str;
dbms_obfuscation_toolkit. DESDecrypt (input_string-online l_data, key_string => 'MagicKey', decrypted_string-online l_data);
Return unpad_DES (l_data);
end;
Concerning
Etbin
-
Hello
Is there a limit for research on the function of advanced search for files containing a text match? My search always ends with 500 discoveries but the folder contains several PDF files that match the criteria.
Hi carls76936091,
Open Acrobat, go to the Edit-> Preferences-> search & check if there is a limit to 500 set, in case if it is to increase it please.
Kind regards
Nicos -
I have lightroom 5 and I'm trying to merge some pictures to make a panorama, I saw on the tutorial there is a function under the photos to merge into panorama. I do not see this option in my lightroom 5, it is something new in Lightroom 6? I don't have photoshop.
Hi santanu_rudra,
The Photomerge option is available in 6 of Lightroom, and not in Lightroom 5.
Kind regards
Tanuj
-
Hi all! I'm new in this forum, as well as in the use of Muse. I ask if there is a sequence of steps o specific function to convert the Fund size tablet and phone Web site.
Y does it can someone help me? Thank you in advance to all
Good bye
Hello
I would say to start from this article
How to create a mobile website with Adobe Muse | Adobe Muse CC tutorials
Let me know if you have any question.
-
Is there a function to get the name of the days?
Hello
I use 10.2.0.1.0 oracle
Is there a function to obtain the day of the week?
as I need to get Sunday, Monday, Tuesday, Saturday.
I know that I can use union and select the name from a double.
But I just want to know if there is another way.
I need to show 7 days in a poplist in my form, it's the requirement
Thank youSELECT TO_CHAR(TRUNC(SYSDATE ,'DAY')+Level-1,'DAY') DAYS FROM DUAL connect by Level<8 SQL> / DAYS --------- SUNDAY MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY
-
Is there a space function to identify a polygon with the Lat/Long data
Gurus,
Can anyone of you let me know if there any spatial function to identify a polygon for the given latitude & longitude.
Yes... with the latitude & longitude entry would get the polygon that has this latitude & longitude.
Please let me know as soon as POSSIBLE, if one of you knows about it...
If you know, please provide me with the syntax.
Thank you and best regards,
Kiran kristelleAssuming that the qs, is how to do a point-in-polygon query (i.e. find what polygon contains a specific point) you would use sdo_anyinteract.
for exampleSelect polygon_id from polygonTable a, point p where
p.Point_id = 1 and sdo_anyinteract (a.geom, p.geom) = 'TRUE';or
Select polygon_id in the polygonTable where
sdo_anyinteract (geom, sdo_geometry (2001, 8307, SDO_POINT (, , null), null, null) = 'TRUE')
Maybe you are looking for
-
The safety of imac serial number?
Hi all I buy 4 GB of ram for an old imac (early 2008) The Ebay seller wants the serial number of my imac to make sure that the ram is correct. Aries is for imac early 2008 20 "Core 2 Duo 2.4 GHZ A1224 Is it safe to provide this information? Thank you
-
Installation of Windows XP on Satellite L500
Hi people, I have Toshiba Satellite L500 model and you are currently running Windows 7. Now I want to install Windows XP on it, I checked that all the drivers are available on the Toshiba page.So teach me how to install Xp successfully. Thanks in adv
-
Help... I need a firmware for my Walkman MP3 Player NWZ-B172F... it does not turn because I accidentally formatted on PC...
-
Place of installation of the United Nations stops at 70%
original title: increase in the installation of United Nations issues. When I go to install Rise of Nations he reached 70% and says: E:\game3.cab. and stops the installation. How can I fix?
-
Problem with Audio HD Coexant & Windows 7 drivers
Hello. I have problems with the Conexant HD audio drivers in my HP dv633nr laptop. I just installed Windows 7 Pro through the MSDN Academic Alliance, and now Windows is indicating that the driver is not certified digitally. I tried uninstalling and r