From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-08-2019 11:04 AM
Good afternoon,
My goal is to generate signal from a .VCD file (which originate from a VHDL modelsim simulation) with my HDSIO NI-6541 module.
Here is what I have done:
1) I used the Digital Waveform Editor to generate a HWS file from the VCD file. I followed the steps from this link : http://zone.ni.com/reference/en-XX/help/370748C-01/dwe/vcd_import_help/
I wasn't able to sample "On Edges of VCD Signal" because no signal would appear in the popuplist as shown on the following screenshot:
I therefore sampled on a "Fixed Timebase or Rate" as shown on the following screenshot :
2) Once my .HWS file was created. I opened up signal express and tried to generate a signal from the .HWS file. Everything seemed to work out until I tried to excecute the program and the following error message poped up : "requested waveform length is invalid, because the number of samples is not an integer of the waveform length increment."
I really don't understand why this error pops up... I've tried generating multiple .vcd files, and using several modules in Signal express but I can't seem to have it work 😞
I'm sure my HDSIO module works though. I've been able to test it with NI MAX.
Would anyone have any experience with HDSIO modules and would know what I am doing wrong ?
Thanks a lot in advance for your help!!
Solved! Go to Solution.
04-03-2019 07:45 AM
Good afternoon HuguesThales,
Are you sure that there is nothing wrong in your VCD files?
Because maybe Signal Express can't import your signals from the file because of that.
Have a nice day.
04-08-2019 07:18 AM
Good afternoon CdCdkey,
NI digital waveform editor generates a .HWS from my .VCD file so I'm guessing there is nothing wrong with it.
I don't know how else I could "test" my .VCD file... I attached test_hugues.vcd to this message in case you would have any way of checking if there is something wrong with it.
I will be contacting NI soon and will try to keep this post updated.
Thank you and have a nice day.
04-12-2019 07:15 AM
Hey,
I was able to get rid of the error by changing the length of my signal on Digital Waveform Editor. (I read somewhere that the length of the signal should be a multiple of 4).
I then had another error telling me my Waveform Length exceeded the total device memory. Again, I was able to remove samples using Digital Waveform Editor.
It now works.