DAQ-Datei in den Measurement Explorer einlesen und aktivieren
Hallo,
ich habe noch immer mein Problem mit der daq-Datei des MAX. Es war jemand so nett mir einen Tipp zu geben aber leider fuktioniert es nicht.
Nochmal zur Erklärung: ich habe mehrere daq-Dateien, weil ich in unserem Technikum verschiedene Maschinen meßtechnisch erfassen muß.
Der MAX liest immer die Datei C:\Windows\niconfig.daq ein und ich habe mich an den Rat gehalten diese Datei einfach mit einer von meinen
Dateien zu überschreiben (ich kopiere einfach meine Datei über die vorhandene niconfig.daq). Leider ist MAX hartnäckig und liest die Datei
nicht neu ein, wenn ich ihn starte. Ich komme also nicht an meine erstellten, virtuellen Kanäle oder nur an die Falschen.
Hat jemand einen Rat für mich wie ich die aktive Datei für MAX auswählen und aktivieren kann?
Muß ich zum Aktivieren immer zwingend MAX starten oder komme ich auch ohne laufenden MAX an meine Kanäle?
Recht herzlichen Dank für Eure Hilfe.
Gruß Jens
Hallo Jens
Die Verwendung der Datei 'niconfig.daq' wird ausführlich im
KnowledgeBase-Artikel unter folgendem Link besprochen:
http://digital.ni.com/public.nsf/websearch/EA00227D63B72A6F8625698F006F6094?OpenDocument
Beste Grüße
Philipp Roessler
Similar Messages
-
Hallo,
ich habe zur Zeit das Problem eine Konfigurationsdatei im Measurement Explorer (ME) von Diadem8.1 aus auszuwählen.
Wir haben verschiedene Maschinen, die jeweils unterschiedliche Meßdaten liefern. Ich habe im ME die entsprechenden Kanäle angelegt und kann darauf zugreifen. Für jede Maschine gibt es eine eigene Konfigurationsdatei. Soweit ist alles ok.
Jetzt muß ich im Diadem8.1 verschiedene Schaltpläne zur Messung aktivieren und die entsprechende *.daq-Datei im ME aktiv schalten. Hier kommt mein Problem. Im ME ist immer die letzte bearbeitete daq-Datei aktiv. Diese möchte ich auswählen können und weiß nicht wie das mit VB-script gemacht wird.
Hat vielleicht jemand einen Tipp für mich.
Recht herzlichen Dank im Voraus
Gruß JensIn LabVIEW gibt es dafür ein VI, das auf eine DLL zugreift:
http://digital.ni.com/public.nsf/websearch/CB83B101E19EF83086256A3E0054206C
Die lvdaq.dll wird aber nur installiert, wenn auch LaBVIEw auf dem System installiert ist.
Wenn Sie kein LabVIEW verwenden, könnten Sie auch einfach die Datei austauschen, auf die der Measurement and Automation Explorer (MAX) zugreift:
http://digital.ni.com/public.nsf/websearch/AAB44ACFF1A81F5286256C6C000035CC?OpenDocument
Dateien kopieren sollte ja per VBS funktionerien. -
Error when running measurement explorer; corrupt installation on Windows XP
When I launch measurement explorer in Windows XP, I get an error stating: Unable to open connection to server. Config.mxs file or installation corrupt. Please delete config.mxs file in the same directory as NIMax.exe,please delete file, reinstall and then check ni.com if problem not fixed.
I have tried deleting the config.mxs file and have reinstalled NIDAQ 6.9.3. Whenever I try to install NIDAQ 6.9.3, I get an error message 1605 relating to the installation of NI-Pal 15.6f0. I continued the installation when prompted. Could this be corrupting measurement explorer?I figured out how to get MAX to install properly under WinXP. My clue came when I had to change permissions in the registry before I could delete the registry settings when reinstalling. MAX must have to write something to the registry when it first starts up, and I noticed the whole registry tree had no permissions even after the re-install. After going to the national instruments top level registry entry, I changed the permissions to full control for administrator. Then click on Advanced and click replace permission entries for all child objects. After this, I could start up MAX with no problems. I would suggest backing up your system before you try this. I don't know if this is something NI can fix with the install or if this is a WinXP problem to prevent
having to do all this in the future. -
How can third-party hardware vendors make their hardware show up in Measurement Explorer?
Is it possible for hardware vendors to write software to an API which allows their hardware to show up in Measurement Explorer. Examples might be Digital Cameras, Motion Controllers, etc.
Ron,
I recommend you post this question into one of the hardware forums like "Motion" or one of the "Measurement Hardware" forums. This forum is for users of the software "Measure for Windows".
I personally don't know of a way to have 3rd-party devices show up in MAX, but someone on one of those other forums may have more insight.
Have a nice day,
Darren
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman -
Wie kann man in SceneRecord aufgenommene Aufnahmen auf den Mac rüberziehen und speichern?
Wie kann man in SceneRecord aufgenommene Aufnahmen auf den Mac rüberziehen und speichern?
Wie kann man in SceneRecord aufgenommene Aufnahmen auf den Mac rüberziehen und speichern?
-
Hi, mein iPod Touch 4G 32 GB lässt sich nicht Wiederherstellen. Bei iTunes wird " Warte auf den iPod " angezeigt - Apfel und Ladebalken sind im Display sichtbar ohne das etwas passiert.
Google translate:
Hi, my iPod Touch 4G 32 GB can not restore. In iTunes "Waiting for iPod" is displayed - apple and loading bar happened visible in the display without something.
- Reboot the computer
- Try another cable and USB port
- Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. - If recovery mode does not work try DFU mode.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- Try on another computer -
Die Datei mit den Farbeinstellungenenthält Einstellungen, die von diesem System ausgeführten Version von Photoshop nicht unterstützt werden.
MAC OS 10.9.4
Adobe Creative Cloud Photoshop CC Version 2014Which camera are the camera raw files from?
Which operating system are you using?
Photoshop cs5 supports up to camera raw 6.7, so if you look on the following chart you can see the version of camera raw your camera needs
Camera Raw plug-in | Supported cameras
If your camera requires a newer version than 6.7, then you might be able to use the 8.6 dng converter to convert the files to dng copies, which should then open in photoshop cs5.
windows
Adobe - Adobe Camera Raw and DNG Converter : For Windows
mac
Adobe - Adobe Camera Raw and DNG Converter : For Macintosh
How to use the dng converter
Camera Raw: How to use Adobe DNG Converter - YouTube -
PSE 12-13 Installieren und aktivieren
Wie oft ,und auf wieviel Computer kann man PSE 12 oder PSE 13 installieren und aktivieren.?
You can have have any version of PSE installed and activated on two computers at one time. To reinstall on the same computer, I suppose there may be a limit, but it's very high, not something to worry about.
-
How can I copy tasks from Automation Measurement & Explorer to a LabView Project
I have a labview project which currently relies on tasks that are predefined in the Measurement and Automation Explorer. I haven't been able to figure out how to export them out of the Measurement and Automation Explorer to be imported into Labview. Can this be done?
Well, let me try to explain something, which can be really questionable
Hence both methods use the same API, the DAQmx API, they have different "implementations". The LV API consist of LV VIs, of course, in the first instance. Of course, digging deep into them, you will encouder CLFNs to the DAQmx DLLs. But some of them are "hidden" because property nodes are in fact something similar to the DLL-calls......
In MAX, you never "see" the API, you are using the wizard. Nevertheless, MAX uses the internal functions contained within the wizard to use the device just as desired (hopefully ) But it never will use the VIs to accomplish that...
Now there are imho two possibilities for you:
a) You start using the LV DAQ Assistent to create your tasks on the PC. It has the same appearence as the wizard in MAX, so you will not trade any used interface for a new one (which would be the API). When you finished the definition, the wizard can be transferred to LV code which can be altered. But if doing this, you will lose the possibility to alter the task using the "used API", the wizard.
b) You can live with the current situation but create a product suggestion for LV and DAQ at the Product Suggestion Center.
hope this helps,
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
INCA-Dateien einlesen und in Kanalgruppen gruppieren
Hallo liebes Forum,
bei der Programmierung eines Scriptes mit welchem mehrere INCA-Dateien (.dat) in .TDM-Dateien umgewandelt werden sollen und bei dem Einlesen-Prozess alle Kanäle einer Datei in eine Kanalgruppe mit dem Namen der jeweiligen INCA-Datei eingeordnete werden sollen komme ich nicht weiter.
Das bisherige Script funktioniert gut, was das Einlesen mehrerer INCA-Dateien angeht, allerdings werden die Kanäle wild durcheinander im Datenportal gruppiert.
Gibt es beim Einlesen eine Möglichkeit, z.B. alle Kanäle der 1. Datei und alle Kanäle der 2. Datei in jeweils eine Kanalgruppe mit dem entsprechenen Dateinamen zu packen? Genial wäre es, wenn die Kanäle der 1. Datei alle noch die Endung "_Datei1" etc. hätten.
Script bisher:
Dim MyFileNames, iCount
Call DataDelAll (1)
'---------------------INCA-Dateien einlesen-------------------------
Call MsgBoxDisp("Bitte INCA-Dateien auswählen","MB_OK",1,3,1)
Call FileNameGet("ANY", "FileRead", DataReadPath, "INCA-Dateien (*.dat),*.dat", "All.lst", True, "Data selection")
If DlgState="IDOk" Then
Call FolderCreate(FileDlgDir & Str(Now, "#yyyymmdd"))
MyFileNames = Split(FileDlgFileName,"|")
For iCount = 0 To Ubound(MyFileNames)
'Data.Root.Clear()
Call MsgBoxDisp("Umwandlung der INCA-Dateien in DIAdem-Format","MB_NOBUTTON","MSGTYPENOTE",1,,1)
Call DataFileLoad(MyFileNames(iCount))
Call DataFileSave(NameSplit(MyFileNames(iCount),"P")&Str(Now, "#yyyymmdd")&"\"&NameSplit(MyFileNames(iCount),"N"),"TDM")
Next
Else
Call DataDelAll(1)
Call AUTOQUIT("Auswertung wurde vom User abgebrochen!", "MB_OK", "MsgTypeNoteIcon")
End If
MsgBoxCancel
Ich würde mich über eine Antwort freuen.
Freundliche Grüße
Benjamin BergHallo Benjamin,
Ich habe ein Script dafuer erstellt, das mit 3 Beispieldateien zeigt, wie das gehen kann.
Dim i, j, k, iMax, kMin, kMax, DataFilePaths, OutGroupName, OutChanName, InGroup, InChannel, OutGroups
iMax = 3
ReDim OutGroups(iMax)
ReDim DataFilePaths(iMax)
DataFilePaths(1) = AutoActPath & "TR_M17_QT_32-1.TDM"
DataFilePaths(2) = AutoActPath & "TR_M17_QT_32-2.TDM"
DataFilePaths(3) = AutoActPath & "TR_M17_QT_32-3.TDM"
Call DataDelAll
FOR i = 1 TO iMax
OutGroupName = NameSplit(DataFilePaths(i), "N")
kMin = GroupCount
Call DataFileLoad(DataFilePaths(i))
kMax = GroupCount
Set OutGroups(i) = Data.Root.ChannelGroups.Add(OutGroupName)
FOR k = kMin+1 TO kMax
Set InGroup = Data.Root.ChannelGroups(kMin+1)
jMax = InGroup.Channels.Count
FOR j = 1 TO jMax
Set InChannel = InGroup.Channels(1)
OutChanName = InChannel.Name & " " & InGroup.Name & " " & OutGroupName
InChannel.Name = OutChanName
Call ChnMove(InChannel, OutGroups(i).Properties("Index").Value)
NEXT ' j
Call Data.Root.ChannelGroups.Remove(InGroup.Name)
NEXT ' k
OutGroups(i).Name = OutGroupName
NEXT ' i
Brad Turpin
DIAdem Product Support Engineer
National Instruments
Attachments:
Load Sort Files.zip 32 KB -
Hi all,
I am trying to set up a simple DAQ assist to measure some voltages (currently a 9 volt battery to aid set up), when choosing to use a waveform chart to log the voltages the graph doesnt start from 0 (time seconds) how do I do this and get it to reset every time I press run or even stop.
What I want to see at the end is a chart for the full lenght of the test showing voltage against time in seconds.
Any ideas peeps
many thanks
ShaneHi Shane,
Look at this VI
Here, I clear the chart before running the VI, using a 'history data' property node ( i pass an empty array to clear it)
In effect, each time you run the VI, the chart will begin at 0:00
Hope this helps
Regards
Dev
Attachments:
chart_start.vi 20 KB -
Sehr geehrte Damen und Herren,
ich befinde mich auf einer Internetseite (z.B. Focus.de) und bin durch Scrollen der aktuellen Bildseite auf einem etwas unterem Nachrichtentopic. Wenn ich nun von dort auf eine Focusseite (z.B. Sportnachrichten) verzweige, und von dort wieder auf die Bildseite von vorher zurückgehe, bin ich jedesmal am Seitenanfang (also ganz oben) der Focus-Seite. Früher kam man immer wieder genau auf den Seitenabschnitt hin, der vorher zusehen war.
Wo kann man das einstellen bzw. korrigieren?
Aktuelle Version des Firefox ist 19.0.2.Easiest to avoid such issues with using the Back button is to open links in a new tab with a middle-click.<br />
Then you can close the tab with a middle-click on that tab on the tab bar and return to the page with the links.
Make sure that the cache is working if you have such issues.
You can check that on the about:cache page and here:
*Extras > Einstellungen > Erweitert > Netzwerk > Zwischengespeicherte Webinhalte: -
NI-DAQ continuous logging while measuring frequency
Apologies in advance because I'm a seriously novice labview user.
I am using a labview script to do a number of things, one of which is to acquire 7 ADC channels from an NI-USB 6218. 6 of the channels are from a force-torque sensor and I'd like to log them continuously. 1 is from a tachometer which is still read as an analog signal even though it's a pulse. The script was written by some students and some things about it didn't work, one of which was the tachometer measurement. I was able to get it to work by using the single tone information VI, but I have to collect an adequately-long waveform to identify the frequency. Meanwhile, I'm trying to continuously measure and log FT sensor data on the other channels. Is there a clean way to either
1) acquire a large number of FT and tach samples and then sort the FT waveform data out, manipulate it (needs to be scaled and offset individually), and store all of the samples along with their waveform time data to a file
2) acquire a single set of samples at a time and collect the tach data to a waveform to be analyzed for frequency
I like option 2 better because the force logging works well with single-sample mode. I hope I might be able to get suggestions without the code because I'd rather find out how to do it right than try to make this mess work. Thank youI like the attitude expressed in the last line of your code.
If you have not done so, please work through the on-line tutorials to get started with LV.
"Script" has a particular meaning in LV (an advanced topic) and it is unlikely that the program written by the students used LV scripting. The appropriate terminology is "program" or "VI" with VI meaning Virtual Instrument.
Now to your specific questions.
There are examples of both continuous and finite data acquisition. Start with those. They may not be exactly what you need but they can show you how the concepts work. This is part of the "clean way."
You can acquire the 7 channels as a 2D array. I would not attempt to do two separate acquisitions. It is possible that your DAQ device might not allow it. Use Index Array or Array Subset to extract the tachometer data from the rest of the data. Acquiring continuously and storing the data in a buffer, possibly in a shift register, until you have a suitable "chunk" to write to file may be a good approach for you.
Depending on the frequency range of the tachometer signal it might be easier to measure/calculate the period and take the reciprocal to get the frequency.
Also consider the Producer/Consumer (Data) Design Pattern which comes with LV. This puts the data acquisition in one while loop and the analysis and file saving in a parallel loop.
Lynn -
Kompatibilität zwischen den Labviewversionen 7.0 und 7.1
Guten Tag,
Le mein Name. Ich war vor zwei Wochen noch auf einem Seminar für Datenerfassung mit Labview und NI-Komponenten. Dort wurde wieder propagiert, dass es keine Komplikationen zwischen den einzelnen Labview-Versionen existieren. Heute habe ich eine kleine Anwendung in meinem Büro geschrieben und prompt funktioniert das Programm im Labor nicht (LV7.1 -> LV 7.0). Wie kommt das? Diese Probleme hatte ich eigentlich zwischen 7.0 und 6.i erwartet, die ja auch aufgetreten sind. Aber ich dachte, dass es wenigstens innerhalb einer Version funktioniernen müsste!?!
Wie kann ich dieses Problem beheben?
Gruß
LeHallo Le,
LabVIEW ist abwärtskompatibel. Das heisst, dass Sie mit der aktuellen Version auch VIs laden und nutzen können, welche mit früheren Versionen gespeichert wurden. In diesem Fall werden die VIs beim Laden automatisch neu kompiliert. Man erkennt am kleinen Sternchen am VI-namen, dass sich der Code dadurch ändert. Beachten sie dies, wenn sie die Dateien nun speichern, damit Sie sich nicht versehentlich Ihre Originalversionen überschreiben.
Da LabVIEW jedoch von Version zu Version weiterentwickelt wird, kann aus technischen Gründen eine Kompatibilität in umgekehrter Richtung nur eingeschränkt funktionieren.
Wie bereits bemerkt können Sie unter "Mit Optionen speichern" ihre VIs im Format der direkten Vorgängerversion ablegen. Dabei kann es natürlich sein, dass ein VI nicht fehlerfrei zurückkonvertiert werden kann - so zum Beispiel wenn Sie Funktioanlität einsetzten, die in der Vorgängerversion noch nicht existierte.
Ingo Schumacher
Systems Engineer Sound&VibrationNational Instruments Germany -
oder aus einem Ring Element
Hallo nobby,
das geht sehr einfach:
rechts klick auf das terminal der ENUM (oder des Ring)
->create->property node (keine ahnung wie das auf deutsch heisst, wahrscheinlich eigenschaftsknoten oder aehnlich komisch)
Als erste eingenschaft erhaelst Du "visible". Jetzt liks klick auf das visible und aus der liste "strings[]" auswaehlen. dieses array enthaelt alle textbezeichnungen des ringes oder der enumeration.
Aus diesem array musst Du nur noch das Dich interessierende Element auswaehlen.
Wenn Du die property node um ein feld erweiterst (auf untere Kante klicken und nach unten ziehen) kannst Du noch "Value" auswaehlen. Dort steht der aktuelle Wert drin. Verbidest Du jetzt "Value" und das array mit Index Array aus der Array Palette, so erha
elst Du den Text des aktuellen Wertes. (Oder Du benutzt statt "Value" fest den Wert 1, dann eben immer der Text des zweiten Elementes. Denn die Indizierung beginnt mit 0.)
Das bindest Du jetzt entweder an einen String-Indikator an oder an die lokale Variable eines String-Controls.
MfG
Rainer
Attachments:
ring-enum.vi 27 KB
Maybe you are looking for
-
I do not have Elements. Can I run Premier alone or with Photoshop 6 or CC
A simple question, I do not have Elements and want to learn video. Can I run Premier alone or with Photoshop 6 or CC? Thank for you help. Roy
-
Is it possible to keep the menu bar at the top on for a macbook air?
I dont like how the menu bar (file, edit, vie, etc) goes away when you make a window bigger. is it possible to keep it there the whole time?
-
Notification commands in MDM visio workflow
Hi Folks I have a doubt about a feature or command in SAP MDM 7.1 for SP10 package to fetch a field in MDM. Can someone help me in using the command %Code=Name% Regards Shifali
-
Aggregation order DOES matter for average aggregation
I left a comment on chapter 9 of the OLAP User's Guide 11g (http://download.oracle.com/docs/cd/B28359_01/olap.111/b28124/aggregate.htm). In this chapter you can find the statement that the aggregation oder does not matter for the average aggregation.
-
Swf not working after inserted into dreamweaver
I'm rather new to flash and Dreamweaver CS5. I created a media playback swf that displays pictures. It works perfectly when I view it in Flash but when I insert the swf into my website in Dreamweaver the images do not show up, the backgound and eve