How can I quickly sample data from 200 channels using DAQmx?
Hello,
I am trying to sample thermocouple data using a SCXI 1000 chassis with two SCXI 1100 modules and one SCXI 1102B, all of which have a 1300 isothermal terminal block. The computer I am using has a PCI-6052E DAQ card and 1 GB of RAM. I will eventually need to upgrade to a SCXI 1001 chassis with enough modules to collect about 175-200 different signals. The problem is I am testing with just the 96 channels I have available and the program runs super slow, with the maximum sample rate only .026 Hz. Currently I have all the channels being read by one DAQmx VI. I've looked through the example programs and tutorials, but nothing there deals with large numbers of channels. Is there a way to improve the sample rate to around 1 Hz with so many channels?
Thanks in advance
Check the filter configuration for your SCXI-1100. The product page says that if you set the filter for 4Hz, you'll only get 3 Samples/second. The slowest module in the chassis determines the sample rate. If one of your modules is configured that way, you'll get a maximum rate of approximately 3 hz / 96 channels = 0.031 hz/channel, which is pretty close to what you've reported. The filter is set by a jumper on the module, see the manual under "filter selection."
You might want to look at "Determining Maximum Scan Rate for Multiple SCXI Modules" as well.
Similar Messages
-
How can I get properties of global virtual channels using DAQmx?
I'm using DAQmx with VB6. In my app, I would like to be able to present the user with a list of available predefined channels to select from. I can use DAQmxGetSysGlobalChans to get a list of the channels, but I need a way to sort out which of these channels are defined as inputs, and which are outputs. It would also be nice to be able to query other properties of the virtual channel (for example, the device and physical channel being used). These all seem very simple things, but I haven't found anything like this in the documentation so far.
Thanks.Try using DAQmxGetChanType(TaskHandle taskHandle, const char channel[ ], int32 *data)DAQmxGetChanType(TaskHandle taskHandle, const char channel[ ], int32 *data). This will return one of the following types:
DAQmx_Val_AI
10100
Analog input channel.
DAQmx_Val_AO
10102
Analog output channel.
DAQmx_Val_DI
10151
Digital input channel.
DAQmx_Val_DO
10153
Digital output channel.
DAQmx_Val_CI
10131
Counter input channel.
DAQmx_Val_CO
10132
Counter output channel.
Let me know if this works.
Regards,
L. Allen -
How can i Pick the data from the string
Hi Gurus
How can i Pick the data from the string using regular expressions. for ex:
1) 10000-san0001
2) 3000000-rani0001
3) 30-super003
its doesnt mainain how many characters.
like this i got string. now i only want after the symobl( -) text (san
rani
super) .how can i pick that
can anyone provide me regular expressions.
Thanks & Regards
Sandya
Edited by: sandya rani on Jan 29, 2010 2:51 PMREPORT ZTEST.
data: str1 TYPE string,
str2 TYPE string,
str3 TYPE string,
lenth TYPE string,
str4 TYPE string,
temp type i value '0'.
data: ii type i value '0',
jj type i value '1'.
Data : begin of itab OCCURS 0,
l_string type string,
end of itab.
itab-l_string = '3000000-GUNDALA20001'.
append itab.
clear itab.
itab-l_string = '2045677-iCVj1001'.
append itab.
clear itab.
itab-l_string = '3000-ragh30001'.
append itab.
clear itab.
loop at itab.
MOVE 0 TO ii.
MOVE 1 TO jj.
SPLIT itab-l_string AT '-' INTO: str1 str2 .
clear: itab-l_string,str1.
lenth = strlen( str2 ).
while temp < lenth.
str4 = str2+ii(jj).
if str4 CA 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' or str4 CA 'abcdefghijklmnopqrstuvwxyz'.
if sy-subrc = 0.
CONCATENATE str3 str4 into str3.
endif.
ii = ii + 1.
ENDIF.
temp = temp + 1.
ENDWHILE.
write: / str3.
clear: itab, ii, jj,str1, str2, str3, str4,temp, lenth.
Endloop. -
How can I acquire the data from 3 separate Channels of SCXI1300 simultaneously?
I am trying to build a DAQ system, which can collect the data coming from 3 different channels. I am using the SCXI 1300 board, Labview 8.0. I used 3 separate DAQ Assistant module to build the system, but it can not collect the data from the 3 channels simultaneously, it can only collect the data from one channel by another channel. So I am wondering how could I fix this problem or rebuild my system. Thanks
Hi, Dennis
I tried to use the NI-DAQmx to replace the DAQ Assistant to do the 3-channel data acquisition simultaneously, and I did the signal splition as you told me. The program works fine for 1-channel data collection, but if I chose 3 channels to do the data acquisition simultaneously, the program could not wokr, and a warning window kept poping up, and the window tells me the maximum sampling frequency is 0.952. So I am wondering what is going wrong and how to fix it.
The attached files are the code and the screen shot of the warning window, please check them.
Thanks
Jingrui
Attachments:
NI-DAQmx program.vi 165 KB
Warning Window.jpg 2305 KB -
I have Time Machine that I used to back up my old computer. It was running snow leopard. My MacBook died, so I got a new one which is running Lion. how can I restore the data from the time capsule to my new Mac?
In technical support, sometimes you have to make educated guesses. I'm sorry that you were offended.
iTunes does prompt when it is going to erase a device, and the message is clear.
She said in her message that she was able to successfully sync the old ipad. This indicated to me that itunes wiping the data was not an issue, because either it had been setup at the apple store (in which case it doesn't actually wipe the ipad despite saying it will*) (*based on a single case I saw), or because the itunes media folder was migrated.
Furthermore, my solution was to tell her how to backup her ipad (by either doing it manually, or as a last resort, by deleting the corrupt backup -- that she couldn't access anyway.)
I got that last part of the instructions from the "Taking Control of your iphone" book which I found samples of when I did a google search for "corrupted backup itunes".
She marked this as a solution, so it worked for her. -
How can I restore my data from iCal? I didn't make any backup, but I use time machine with an external HD. I deleted iCal when I deleted my gmail account. I have tried to restore, but I can only restore the iCal software and not the data.
So what is your question?
If you forgot your encryption password:
Warning: Make sure it's a password you will remember or write it down for safekeeping. If you encrypt an iPhone backup in iTunes and forget your password, you can't restore from backup and your data will be unrecoverable.
If you can't remember the password and want to start again, you must perform a full software restore and chooseset up as a new device when iTunes prompts you to select the backup from which to restore.
The above comes from here:
http://support.apple.com/kb/HT4946 -
How Can we get the data from Non-SAP to SAP in WebDynpro
Hi,
I hope u understand my query, How can we get the data from Non-SAP to SAP thru WebDynpro Programming.
Help out with the steps for getting the data or procedure.
Regards,
MutyapuYou can expose the APIs in the Non-SAP backend as Web Services, and consume them in SAP by creating an Enterprise Proxy. Then these can be called just like normal class methods from Web Dynpro.
Regards,
Nithya -
How can i get the data from database & add them as a link
Hi,
how can i get a data from a database(DB2) and that data will be having a file so i should make them as a link.i tried it in jsp .
<%
Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
Class.forName("COM.ibm.db2.jdbc.net.DB2Driver");
response.setContentType("text/html");
Connection conn = null;
conn = DriverManager.getConnection("jdbc:db2:spintran");
Statement stmt = conn.createStatement();
stmt.executeQuery("set current schema tut");
ResultSet rs = stmt.executeQuery("select * from tutorial");
%>
Type Of the Category :    
<%
while (rs.next())
String desc = rs.getString(1);
out.println(desc);
%>
<A HREF = "<%=desc%>"><%=desc%> </A>
<%
%>
but it is not working.how can i link.
thank you.what is desc? is it the file name ? whats the data type of desc in db? INFILE?
if desc is just the name of the file, then make sure that such a file exists in the proper folder.only then the link works..
that is, if desc is 'a.jpg' then a.jpg should be existing in the same folder as your html is. -
How can we export the data from OAF Page to Excel instead of .csv or .txt
Hello,
How can we export the data from OAF Page to Excel instead of .csv or .txt
When i click on the export button it is exporting to txt file, But i need to export the data into Excel by default
Please help me
Thanks in advance
Thanks,
Raju
We have changed the below profile option to get the data in excel by default
Profile Name Export MIME type
Profile Code FND_EXPORT_MIME_TYPE+
Existing Value: text/tab-separated-values+
Change as: Excel
Thank you,
Raju
Edited by: 1006649 on May 21, 2013 10:55 AMWe have changed the below profile option to get the data in excel by default
Profile Name Export MIME type
Profile Code FND_EXPORT_MIME_TYPE+
Existing Value: text/tab-separated-values+
Change as: Excel
Thank you,
Raju -
How can i convert the data from mutiple-table to the other database(MSSQL)?
Dears,
How can i convert the data from mutiple-table to the other database such as MS-SQL?
I have a third party system based on MS-SQL 2000.
Now we want to make a integration between SAP R/3(Oracle) and SQL server.
When my user releases the purchase order in R/3, the application we coded will convert the releated data to the temp database on the SQL server.
But i don't know which tools will help me reach the purpose. BAPI, LSMW, IDoc... ???
Would anybody tell me which way is better and how to do?
Thanks a lot!
Kevin WangHello Kevin,
The question to use which method depend on your detail requirements. If you use BAPI, you need to find which Bapi can provide the data you want. Bapi normally use as a function called by external system. So you need to develop an external program like VB/Java to call this Bapi and move it to SQL. LSMW is use when you want to upload data from an external system to SAP. So it does not serve your requirement. Idoc can be use to export data to an external system. Again like Bapi, you need to find what Idoc can provide the data you want. However, it does not any programming from the external system. If I were you, based on your requirements, I think writing an Abap program that read the data you want and download it to NT/SQL server will be faster and easier. -
How can i save the data from the Oracle database to my local directory
How can i save the data from the Oracle database to my local directory instead Of saving the data file to the Directory created on the Oracle Server ?
I require to design the Procedure which will pull the data from various tables and needs to store the data in the Client's local directory.Since SQL*PLUS runs on the client, you can use SQL*PLUS to spool data to your local drive.
You could also use the database to write a a specified drive where all users have access to (mapped network drive, e.g.). I wouldn't recommend doing it that way, but it is sometimes useful when the files are created in some nightly batch run. -
How can I extract the data from Xstring .
Hi Gurus ,
How can I extract the data from a XSTRING .
I have to get the data which is filled in the survey form the data is getting saved in form of xstring .
Someone told me that there is a standard FM for that . but I am not able to find .
Please reply with the FM in case some one knows about it .
Thanks in advance .The following code works as of 7.0 (in any SAP system):
FORM XSTRING_TO_STRING USING input TYPE xstring CHANGING output TYPE string.
TYPES : BEGIN OF ty_struc,
line TYPE c LENGTH 100,
END OF ty_struc.
DATA lt_char TYPE TABLE OF ty_struc.
DATA length TYPE i.
length = xstrlen( input ) / cl_abap_char_utilities=>charsize.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = input
tables
binary_tab = lt_char.
CONCATENATE LINES OF lt_char INTO output RESPECTING BLANKS.
output = output(length).
ENDFORM.
Edited by: Sandra Rossi on Mar 30, 2010 12:24 AM -
How can i store the data from the list to MS-Access?
Hi all,
We all know that from alv it is possible to export data to Ms-excel or word or text file. Can anyone tell me how can i store the data from alv or reports to Ms-Access?
Thanks in Advance,
AbhijitHi,
If you want that without code, i suppose there is a option in MS-Access to import data from Excel, so you have to first export to excel and then import to Access.
If you want to code it yourself then have a look at FM TABLE_EXPORT_TO_MSACCESS, as said in Exporting Data from R/3 to MS ACCESS
You can also see the search results in SCN for [export data to MS-Access (45 Results)|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=exportdatato+MS-Access&cat=sdn_all].
Regards
Karthik D -
How can i recover my data from an old hard drive after replacing it?
How can I recover my data from an old hard drive after replacing it?
Internal or external hard drive? Was the drive still working before you replaced it?
-
How can I transfer outlook data from Ipod to new hard drive?
My hard drive had to be replaced last week. Although my music was backed up by Norton 360, my Outlook contacts and calendar were not backed up. How can I transfer my data from my Ipod to my new hard drive? I am running Windowa XP, if that matters. Will a sync to Itunes destroy all my data on my Ipod?
You would need to enter at least one unique contact and calendar entry on the new computer, then when you first sync you should get the option to merge the data.
Maybe you are looking for
-
How do I set my iPod's alarm volume separate from that of the other sounds?
First of all, I tried to post this to the iOS Apps community, but there doesn't seem to be one for the Clock app. I wake up by the alarm feature on my iPod Touch, but sometimes the volume is turned down super low because throughout the day I have the
-
When I installed the update originally, it said it installed correctly. How do I fix this?
-
Technical problem: PPro CS5.5 won't play DSLR MOVs
Hello! I am new to PPro CS5.5 (first day, actually) and I cannot play back .MOVs from my Canon 5D Mk2 (with audio). Every other file format that I tried worked, which is quite bad because I bought the Production Premium package just to work with DSLR
-
Running a function against a table
Hi, I need to be able to run a function against a table column that would update the value in the column. I'm not sure about the syntax I would use to do this. Any help would be appreciated. Thanks
-
64-Bit and 32-Bit: Snow Leopard and Windows 7
Hi All: I will eventually be dual booting Snow Leopard and Windows 7. I have never used Boot Camp before and have several questions, including one related to Boot Camp. First, when installing 7, will I need to format the 7 partition, presumably NTSF.