USB-5133, hws file matlab

Hi all

I use USB-5133 to measure voltages of both channels simultaneously. For this, I use the NO-SCOPE. The scope record measured as a DJ-file data. I need these files in Matlab, but I can't open them. What would be the easiest way to export and to open these data in Matlab?

Any help is greatly appreciated!

Joonas

I've never used Matlab, this will probably not be able to help much.  However, NEITHER-HWS uses HDF5 1.4.4 version which was released around 2002 or 2003.  The current version of HDF5 is 1.8.5.  I think remember me some problems of compatibility with 1.4.4 but it has been a long time and I don't remember the details.  Hdf5 recorded the version of the writer in the file to allow compatibility downstream, and the HDFView doesn't seem to have a problem with the file (I was able to trace the track without any problem in the Viewer).  You may need to define a compatibility option in your read file.  See your documentation.

Data, stored as an array of I8s, are one of the two places (there is only one copy of data, but it is related to two places):

wfm_group0 / vectors / vector0 / data

wfm_group0 / traces / trace0 / axis / data_vector / data

The coefficients of the scale for the data are stored in

wfm_group0 / traces / trace0 / axis / scale_coef

It is an array of point numbers floating 64-bit with shift first, followed by the scale factor (0,1,...).

Timing information in the attributes of the x axis:

absolute timestamp - wfm_group0 / traces / trace0 / axis / ref_time

first point against the benchmark of timestamp - wfm_group0 / traces / trace0 / x axis / start

vesting period - wfm_group0 / traces / trace0 / x axis / increment

Good luck.  My apologies for not having more help.

Tags: NI Products

Similar Questions

  • How to bed a HWS file that contains 2 tracks, in labview? (error-21508)

    Dear experts,

    I have been using an acquisition card PXI-5105 to save the data of 2 channels at the same time (from different sensors).

    So far I've read Matlab files, taking into account, the name of the group, the name of the track and the coefficients of each channel. I was able to post-process the data in Matlab. I have attached an example of the kind of files that I'm handling if it can help, inside a zip.

    Now, I want to implement this post-processing (FFT, etc.) in Labview. I tried to use examples such as "hws_low_level_read.vi" or even the load HI-HWS Express utility to check the file, but it seems difficult to read because of the 2 channels recorded within the same file.

    The 21508 error appears in the 'Get Wfm reference.vi niHWS'. Making reference to:

    21508 error occurred at niHWS get Wfm Reference.vi

    Possible reasons: NIHWS: there is no group in the file that corresponds to the provided group

    And it seems strange to me, because I use the same group name (wfm_group0) and trace (vector0) I used in Matlab.

    All that I'm missing? No clue on how to read somehow?

    Thank you very much in advance for your help

    Best regards

    Inigoa

    Hi all

    I've been faced with that problem today and I just wanted to post here how I finally found a way to read the data.

    It's so easy that I'm a little ashamed, but I think that it is worth to answer in case someone would need.

    The "Get wfm reference niHWS' request for a group name and a name of the waveform. I used the "niHWS name Get Group' and 'Get wfm name niHWS '. Both have outputs direct (strings) with information that includes "niHWS Get wfm reference". You can link directly.

    But in fact, in reading the data that I found the name of the Group didn't need to be met, and the waveform name is '0' or '1' in EAC you have 2 channels.

    So, you see, it was very easy for my HWS file: put a control, and then select '0' or '1' for the name of a waveform. The more simple the better, jejeje.

    I hope it helps. And sorry for the opening question I now address myself. Yesterday, I was completely lost.

    Best regards

    Inigoa

  • USB-5133 appearing does not in MAX, "loader" shows driver in Device Manager.

    I have a USB-5133 can I use it on several computers. I'm putting it on another PC (XP Pro). The device is recognized by windows and it goes to install the drivers. When it's done, in the Device Manager-> data acquisition devices, I see "NI USB-5133 Loader. On other computers, he said only: "NI USB-5133. The green light on the device is NOT on, and the device does not appear in Measurement & Automation Explorer.

    No idea why the appropriate driver is not loaded? I have NO-SCOPE 3.5.2.

    Hello Gallamine,

    The NI USB-5133 Digitizer is a plug-and-play device, try removing the device in MAX.  Then, unplug the device and plug it in again.  The computer should record the device of MAX as "NI USB-5133.  If this does not work, the data base of the MAX could be damaged.  To resolve this problem, see the following link:

    http://digital.NI.com/public.nsf/allkb/2C7480E856987FFF862573AE005AB0D9

    Finally, if the database setting does not resolve this problem, try to reinstall the latest version of OR-SCOPE.

    Kind regards

    Roman S

  • generate a digital triggering out CH1 (low and high) for the USB-5133

    Hello

    I would like to generate a digital triggering on the USB 5133 CH1, is this possible?  I tried with the PFI 1 successfully but the output is only 3.5 v and I need to 5V, because this trigger signal goes to a box of pulse generates a signal, which is received by the CH0 on the USB-5133. This configuration works on the 5102 OR but because of the treatment, I am obliged to try a new device.

    Channel 0 and 1 are only entries then you will not be able to use them to generate a signal.  All of our products current digitizer that are recommended for new designs use 3.3V CMOS logic levels for PFI lines in output mode.  Your best bet to generate a digital triggering 5V would be to use an external buffer that can accept 3.3V CMOS levels as an input, but is under voltage of 5V.  Here are some that might work for you, but there are many others: http://www.onsemi.com/PowerSolutions/product.do?id=M74VHC1GT126DT1G adding a buffer in line with the trigger signal will add delay, so you will need to ensure that it is acceptable for your application.

    Hope this helps,

    -Matt

  • can someone tell me how to reverse the order of the bits of a .hws file?

    I have a (digital) .hws file that is backwards.  I need to exchange the LSB and MSB to reverse the reading order.  Can someone tell me how to do this?


  • Get the device USB-5133 by program number

    I build systems integrated with many USB devices USB.

    All the regular USB DAQ device number can be detected programmatically.

    My USB-5133 (digitizer high speed) is not detected by program, by a feature in Labview.

    I need this tool to communicate with my systems without manually selecting device number before running my application.

    Hi Harold,.

    Thanks for posting your question. Please check the following knowledge base

    Best regards

    Faris

  • USB Flash Drive files

    If I create usb flash drive files using Windows 7, can I access files in the files using another

    Windows (xp, vista, 8)?  I use the flash drive on different systems.  Thank you, Ben.


    Shouldn't be a problem at all.
     
  • My STR-DN1060 will not play AIFF 24/192 USB linear PCM files

    My STR-DN1060 will not play AIFF 24/192 USB linear PCM files. He has no problem with ALAC or FLAC or compressed formats with losses. Any ideas?

    Problem solved. I was more than a little of delay in my responses. It turns out that the STR-DN1060 (my model) plays a hi-res AIFF files. The problem was related to the hidden files in Mac OSX place on the USB when files are transferred. These files are identical by name, but I didn't notice the "." _"prefix. Or rather, I was them noticing, and then try to play, as a little strange that the receiver was seeing them with the prefix. These are 1 k files, normally hidden. Once I realized that I need the page further down in the display of the names of music files, problem soolved.

    Further for those who use Sony receivers with USB devices containing files transferred from a Mac:

    (1) before use it, insert the USB key into a PC machine. Look for *. _ *. *.

    (2) delete all the filenames with this prefix.

    ATTENTION: not dete the. DS_Store or. DS Trashes files. There is a. DS_Store in each directory of the artist. OSXs supplosedly needs them to keep track of things. If it has or has not, those who will not turn on the receiver.

    ASTED web reference:. DS_Store is the name of a file in the operating system Apple OS X for storing attributes customized a file for example the position of icons or the choice of a background image. The name is an abbreviation of Desktop Services store, reflecting its purpose.

  • NOR-6008 selection file Matlab .m voltage range

    Hi, I need to select a range of power such as - 1V to + 1V file .m in MATLAB to acquire data of acquisition of data NOR-6008.

    I appreciate if someone can send me a code example.

    The system works very well and I can control successfully the sampling frequency, but not the voltage range.

    Concerning

    Hello

    The two alternatives are equivalent, option 2 is how to get to a channel if you had not registered to a variable when it is created.

    When you say that it doesn't work, do you have an error message?

    I just tried it on my machine with an NI USB-6008 with 4 channels and the range set to-1 [1] on one of these channels:

    > s = daq.createSession('ni')

    s =.

    Session data using National Instruments hardware acquisition:
    Will work for 1 second (1000 scans) to 1,000 scans/second.
    Some channels have been added.

    > s.addAnalogInputChannel ('dev2', 0:3, "voltage")

    years =

    Session data using National Instruments hardware acquisition:
    Will work for 1 second (1000 scans) to 1,000 scans/second.
    Number of channels: 4
    index of Type channel MeasurementType range nom_peripherique
    ----- ---- ------ ------- --------------- ---------------- ----
    1 THE Dev2 ai0 (Diff) voltage-20 to + 20 v
    2 THE Dev2 ai1 voltage (Diff)-20 to + 20 v
    3 THE Dev2 ai2 voltage (Diff)-20 to + 20 v
    4 THE Dev2 ai3 voltage (Diff)-20 to + 20 v

    > s.Channels (2). Range = [1-1]

    s =.

    Session data using National Instruments hardware acquisition:
    Will work for 1 second (1000 scans) to 1,000 scans/second.
    Number of channels: 4
    index of Type channel MeasurementType range nom_peripherique
    ----- ---- ------ ------- --------------- ------------------ ----
    1 THE Dev2 ai0 (Diff) voltage-20 to + 20 v
    2 THE Dev2 ai1 voltage (Diff) - 1.0 to + 1.0 v
    3 THE Dev2 ai2 voltage (Diff)-20 to + 20 v
    4 THE Dev2 ai3 voltage (Diff)-20 to + 20 v
       
    Properties, methods, events

    > s.inputSingleScan

    years =

    -0.0034 0.0008 0,0059 0.0012

    Wael Bruno

    The MathWorks

  • TV 39L4353D - 5.1 to pllaying question stereo USB flash drive files

    Hello

    have recently purchased the above model, and will have questions game 5.1 Blueray audio files from my USB drive on the TV...

    Basically, I can change the audio channels via the remote control, but the only channel I can operate is a horrible English dub!

    The correct language is selectable, but does not play at all... any ideas?

    Thank you

    Hello

    In my opinion, you should check first if the same question would appear from different sources.
    I mean, you should check 5.1 movies playing appearance of DVD and BD discs that support 5.1

    In addition, you should check the manual for the video/audio codec and file format supported by using the USB interface.
    To my knowledge, not all formats are supported!

  • Satellite L675 - 11 H - cannot access and/or played on USB flash drive files

    Hi all

    I recently bought a Toshiba Satellite L675 - 11H and tried to transfer files from a USB Pendrive on my hard drive from Toshiba. The files were already transferred from my old laptop (HP - XP) on my USB flash drive.

    Unable to access the USB flash drive to any of the USB ports that I connect my new laptop flash drive. What could be the problem here? Thank you for your help or tips!

    Hey Rush,

    Can you post more detailes about this behavior? What happens if you connect your laptop HARD drive, you don't see that Windows installs the drivers for the new USB device or do you have an error message? If you have connected the USB check of Windows disk management if she s recognized there (Control Panel > system and security > administrative tools).

    Have you tried other USB devices such as USB mice? If they don t work too the problem might be connected to the USB ports. In this case, you must delete all the USB ports on the Device Manager and restart your laptop. Also the chipset driver update might help.

  • import photos from usb in the files and store them in folders

    I have pictures files created on a pc and stored on a USB key.

    I want to create a library for these pictures and retain their position in folders

    I imported the Photos, but they are sorted by date with no option to change.

    Is there a way to keep records and bring them to Photos?

    Pictures folders cannot contain pictures, only the albums containing photos.  There is an Applescript script in the Photos for Mac usage tips section which allows you to import the pictures folders from your hard drive in the library of Photos and make them into albums with the same name as the folder.  You can get it here: Photos for Mac: File Import of Image files in the library as Albums

    The Photos window sorts the photos by date they were taken and are called Moments.  The window of all sorts photos by date imported into the library with the most recent at the bottom of the window.

    Moments in Photos are new events, i.e. groups of photos sorted by date of catch.

    When the iPhoto library has been migrated first to the pictures there is a folder created in the box titled iPhoto events and all migrated iPhoto events (which are now Moments) are represented by an album in this folder. Use the Command + Option + S key combination to open the sidebar if it is not already open.

    NOTE: it has been reported by several users that if the albums of the event are moved in the iPhoto Library folder in the sidebar, they disappear.  It is not widespread, but several users have reported this problem.  Therefore, if you want to if ensure that you keep these event albums do not transfer out of the iPhoto events folder.

    Is there a way to simulate events in pictures.

    When new photos are imported in the library of Photos, go to the smart album last import , select all the photos and use the file menu option ➙ New Album or use the key combination command + N.  Call it what you want.  It appears just above the folder to iPhoto events where you can drag it into the events in iPhoto folder

    When you click on the folder to iPhoto events, you will get a window simulated of iPhoto events.

    Albums and smart albums can be sorted by title, by Date, with the oldest first and by Date with the most recent first.

    Tell Apple what missing features you want restored or new features added in Photos Photo-Applefeedback.

  • Cannot load the file MatLab

    Hello

    I am trying to load a MatLab file using DIAdem 2011.  I downloaded the plugin from data from the Web site of NOR and installed.

    When I try to load a *. MAT file I get the following error.

    Unable to load the file "C:\Documents and Settings\All Users\My Documents\SignalExpress Data\08062012_104428_AM\voltage_current_ni_test1.mat" with the charger "MatLab."

    Additional information:
    Impossible to copy a block of data from the file 'C:\Documents and Settings\All my Data\08062012_104428_AM\voltage_current_ni_test1.mat Documents\SignalExpress' in the internal data.

    I never had any other use, by using plugins for DIAdem until I tried to condition a *. MAT file.

    Hi, smooth,

    MatLab use worked very well in the past.  My best guess is that this particular *.mat file may contain some data types (3D arrays, structures, etc.) that are not yet supported.  You have no way to verify what are the types of variables are stored in the *.mat file?  MatLab use works with all other *.mat files you have?

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • Continuous output signal using usb DAQ 6008 in matlab


    Hi Takou,

    You already post with the same subject. Is this the same thing, isn't?

    If so, refer to the following link:

    How to get out a sinus with usb 6008 on MATLAB

    http://forums.NI.com/T5/Multifunction-DAQ/how-to-output-a-sine-with-USB-6008-on-Matlab/m-p/1510508#M...

    Best regards

  • is possible to use either usb 6353 map with Matlab 2010A

    Hello

    On a bought a NIUSB 6353 map, but in my computer don't I i the 2010 version of Matlab. Is there a way to control this version of this map with MATLAB

    Thanks in advance

    Hello

    And thanks for posting here.

    Please write in English if you post here. Otherwise, post on the french forum.

    NI USB-6353 using the DAQmx driver, it must be used with Matlab.

    You will find several links from the NI USB-6353 by clicking here.

    And presents an additional link showing you how to use your device with Matlab: Introduction to NOR-DAQmx with Matlab tools

    Kind regards

Maybe you are looking for

  • 28 Firefox doesn't know plugin.disable_full_page_plugin_for_types?

    Starting from Firefox 28 the plugin.disable_full_page_plugin_for_types parameter seems to be ignored. I had it in previous versions so I could get the audio/mpeg files to display a notification to download rather than play in the browser, but from th

  • Office h8 - 1012c: amd radeon hd 6570

    Since the upgrade to Windows 10, I have problems with my graphics card when you use Lightroom 6. Apparently my AMD Radeon HD 6570 GPU card is not supported by Adobe. My office is a HPE H8 - 1012c Anyone could update their graphics card and if so, you

  • System (SysMemVolt) via WinRM memory voltage

    No one knows where, or if sysmemvolt is available via winrm? Is not in DCIM_MemoryView and I can find nowhere else. Any help would be appreciated. Syscfg.exe and omreport.exe it getting a very good:C:\>syscfg--sysmemvoltsysmemvolt = 1.35v C:\>omrepor

  • Cannot set a static IP address in 3100cn

    I recently updated my system to Windows 8, my first mistake.  Before I could still access my printer on my local network by using an assigned IP address.  Not when I want to make ANY type of change to the printer, a login screen is displayed asking f

  • find productnumber

    I had some problems with my HP Photosmart 6520 new all-in-one printer and I so wanted to contact Customer Service. To do this, I need from my series and productnumber. Find the serienumber was easy, but nowhere on the printer labels explicitly says "