Innovative Integration
 
Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
X3-10M Not Work Correctly

 
Post new topic   Reply to topic    II Support Forum Index -> X3-10M
View previous topic :: View next topic  
Author Message
oktanto



Joined: 27 Feb 2009
Posts: 7
Location: Indonesia

PostPosted: Sun Mar 01, 2009 9:25 pm    Post subject: X3-10M Not Work Correctly Reply with quote

Two week ago, my company have bought X3-10M with eInstrument PC. I tried an example program that have compiled on Bcb 11 (Snap).
When I run it, First time, i need to open board X3-10M, and then load logic configuration to the board (x3_10m_r3.bit). When logic configuration loading have done, i set the board setting parameter :source clock from internal with output varying about 5 - 1000 KHz, trigger from software with auto trigger, Packet size 0x10000, one active channel (Ch0) with mode 0. When i start streaming, logging, and then stop streaming. Then BinView automatically display the result file data.bin that have been logged. BinView always show the same result (same graphic) although input channel and output clock i changed. (Note : BinView always refers to path where new data have been saved)
My question is :
1. Why data.bin that show in BinView always have the same result? (for
information : open and load configuration have successfully loaded, and
when direct data available, this handle DirectDataAvailable function is
called but buffer always filled with the same data although analog signal
input have changed)
2. Are logic image (x3_10m_r3.bit) that i have load to X3-10M is true for
my tried purpose using snap?
3. I have tried to make custom program, it same with snap source code, but
the different is, when data available (not direct data available), i use
this code :
void ApplicationIo::HandleDataAvailable(PacketStreamDataEvent & Event)
{
if (Stopped)
return;
// User Modified
static Buffer Packet;

Log("Data Available");

Event.Sender->Recv(Packet);

Log("Packet Received");

UI->Status("Packet Received");

IntegerDG Packet_DG(Packet);

if (Settings.LoggerEnable || Settings.PlotEnable)
if (FBlockCount < BlocksToLog)
Logger.Log(Packet_DG.Ptr(), Packet_DG.SizeInInts());

}

why the log result still same too although signal input have changed?

I always wait your suggestion for my problem. Thank You
Back to top
View user's profile Send private message Yahoo Messenger
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2267
Location: So. Cal. USA

PostPosted: Mon Mar 02, 2009 8:13 pm    Post subject: New software and firmware release Reply with quote

We have released new software and firmware to our beta site. This code has been tested recently and is known to work. Please download this code and firmware and retest. It can be downloaded using our InstallFromWeb applet as described at http://www.iidsp.com/forum/viewtopic.php?t=433&highlight=beta.

I think this will take care of your problem.

_________________
phpbb1
Back to top
View user's profile Send private message Visit poster's website
oktanto



Joined: 27 Feb 2009
Posts: 7
Location: Indonesia

PostPosted: Wed Mar 04, 2009 11:06 pm    Post subject: Re: New software and firmware release Reply with quote

jhenderson wrote:
We have released new software and firmware to our beta site. This code has been tested recently and is known to work. Please download this code and firmware and retest. It can be downloaded using our InstallFromWeb applet as described at http://www.iidsp.com/forum/viewtopic.php?t=433&highlight=beta.

I think this will take care of your problem.


I have download InstallToWeb.exe from link that you have showed. But, when i choose X3-10M PCIe XMC Module development kit in Product to Install, it give me notice that "the version of this product installed on this machine is up to date". I can make conclusion that i not need to install from web where you show because software and firmware that installed in my machine its same with beta site. Are that right? Or i must download it anyway.
Back to top
View user's profile Send private message Yahoo Messenger
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2267
Location: So. Cal. USA

PostPosted: Thu Mar 05, 2009 6:25 am    Post subject: Version match Reply with quote

Even though the version system reports that you have the latest, please download the latest, install and test it. Be sure to select the Transfer | Fetch Beta Products from the menu to insure that you retreive the latest candidate release files.

When testing, insure that you use the new firmware image located in the Hardware\Images subfolder.

_________________
phpbb1
Back to top
View user's profile Send private message Visit poster's website
oktanto



Joined: 27 Feb 2009
Posts: 7
Location: Indonesia

PostPosted: Fri Mar 06, 2009 2:23 am    Post subject: Re: Version match Reply with quote

jhenderson wrote:
Even though the version system reports that you have the latest, please download the latest, install and test it. Be sure to select the Transfer | Fetch Beta Products from the menu to insure that you retreive the latest candidate release files.

When testing, insure that you use the new firmware image located in the Hardware\Images subfolder.


I have tried to download the latest software and firmware, but I found a problem, download process stop after X3-10MDevKit.zip already downloaded, when i try to download again, it stop again with the same case. Fortunately, new image logic (firmware) reside on X3-10MDevKit.zip, therefore I can extract it, and then load it to my device. Now, my X3-10M have work, but looses on input voltage very big. An example, I use signal generator with frequency 100 KHz 1 Vpp. In binview, the signal input detected have max amplitude not more than -4 mV. Did the program that i used wrong? Snap program and firmware that we used, take from X3-10MDevKit.zip that we have downloaded, Binview version 1.66

I wait your suggestion
Thank You very much Mr. Jim
Back to top
View user's profile Send private message Yahoo Messenger
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2267
Location: So. Cal. USA

PostPosted: Fri Mar 06, 2009 8:33 am    Post subject: Differential inputs Reply with quote

First, insure that you are applying a proper input signal, to the appropriate pins on the JP1 MDR68 front-panel connector. Be sure that your signal source is a differential signal +/- 1Vp-p and that it is being applied to pins 29+ and 63- of the MDR68. It is best if you're using our terminal breakout connector or ideally our 67062 COAX Breakout (differential). Try other channels as well, to insure that this is not a channel-specific issue.

If this does not help, send me the BinView ,bin and .bdd files for analysis.

Try downloading the 10M files manually from http://www.innovative-dsp.com/cgi-bin/dl6.cgi?product=X3-10M

_________________
phpbb1
Back to top
View user's profile Send private message Visit poster's website
oktanto



Joined: 27 Feb 2009
Posts: 7
Location: Indonesia

PostPosted: Tue Mar 17, 2009 7:24 pm    Post subject: Translate Integer Buffer to volt Reply with quote

Dear Mr. Jim,

I use 67060 (COAX Breakout) connector to apply our input signal. And I have try another channel, but we have the same result. Can you give me guide to translate sample from Integer datagram to voltage.
Code:

void  ApplicationIo::HandleDataAvailable(PacketStreamDataEvent & Event)
{
   if (Stopped)
      return;

   Buffer Packet;

   const int* DataBuffer;
   //
   //  Extract the packet from the Incoming Queue...
   Event.Sender->Recv(Packet);
   AccessDatagram<int> A_DG(Packet);

   //
   //  Process the data packet
   PacketBufferHeader PktBufferHdr(Packet);


   // If enabled, log the data stream
   if (Settings.LoggerEnable || Settings.PlotEnable)
      if (FBlockCount < BlocksToLog)
         Logger.Log(A_DG.Ptr(), A_DG.SizeInInts());

   DataBuffer = A_DG.Ptr();
       // Log data from buffer into form
   for (unsigned int i = 0; i < 1000; i++) {
      Log(IntToString(DataBuffer[i]));
                // how to change DataBufffer into volt
   }
    TallyBlock(Packet_DG.size()*sizeof(int));
}


Thank You
Back to top
View user's profile Send private message Yahoo Messenger
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2267
Location: So. Cal. USA

PostPosted: Wed Mar 18, 2009 8:27 am    Post subject: Analyzing data in buffer Reply with quote

The routine below illustrates analysis of data received from the X3-10M

Code:
//---------------------------------------------------------------------------
//  ApplicationIo::HandleDataAvailable() --  Handle received packet
//---------------------------------------------------------------------------

void  ApplicationIo::HandleDataAvailable(PacketStreamDataEvent & Event)
{
   if (Stopped)
      return;

   Buffer Packet;
   //
   //  Extract the packet from the Incoming Queue...
   Event.Sender->Recv(Packet);
   ShortDG Packet_DG(Packet);

   int channels = Module.Input().Info().Channels().ActiveChannels();
   unsigned int samples = Packet_DG.SizeInElements()/channels;
   Buffer data(Holding<float>(Packet_DG.SizeInElements()));
    FloatDG Data(data);
   for (int ch = 0; ch < channels; ++ch)
      {
      for (unsigned int sample = 0; sample < samples; ++sample)
         Data[sample] = Packet_DG[sample*channels+ch];

      //Analyze Data buffer here - Application-specific
      }

   //
   //  Process the data packet
   PacketBufferHeader PktBufferHdr(Packet);

   // If enabled, log the data stream
   if (Settings.LoggerEnable || Settings.PlotEnable)
      if (FBlockCount < BlocksToLog)
         Logger.LogWithHeader(Packet);

    TallyBlock(Packet_DG.size()*sizeof(int));
}


However, please post the binview data files acquired using the Snap program. If the data acquired is really invalid, then of course the routine above will not work properly either.

_________________
phpbb1
Back to top
View user's profile Send private message Visit poster's website
oktanto



Joined: 27 Feb 2009
Posts: 7
Location: Indonesia

PostPosted: Tue Mar 24, 2009 7:08 pm    Post subject: Re: Analyzing data in buffer Reply with quote

jhenderson wrote:
The routine below illustrates analysis of data received from the X3-10M

Code:
//---------------------------------------------------------------------------
//  ApplicationIo::HandleDataAvailable() --  Handle received packet
//---------------------------------------------------------------------------

void  ApplicationIo::HandleDataAvailable(PacketStreamDataEvent & Event)
{
   if (Stopped)
      return;

   Buffer Packet;
   //
   //  Extract the packet from the Incoming Queue...
   Event.Sender->Recv(Packet);
   ShortDG Packet_DG(Packet);

   int channels = Module.Input().Info().Channels().ActiveChannels();
   unsigned int samples = Packet_DG.SizeInElements()/channels;
   Buffer data(Holding<float>(Packet_DG.SizeInElements()));
    FloatDG Data(data);
   for (int ch = 0; ch < channels; ++ch)
      {
      for (unsigned int sample = 0; sample < samples; ++sample)
         Data[sample] = Packet_DG[sample*channels+ch];

      //Analyze Data buffer here - Application-specific
      }

   //
   //  Process the data packet
   PacketBufferHeader PktBufferHdr(Packet);

   // If enabled, log the data stream
   if (Settings.LoggerEnable || Settings.PlotEnable)
      if (FBlockCount < BlocksToLog)
         Logger.LogWithHeader(Packet);

    TallyBlock(Packet_DG.size()*sizeof(int));
}


However, please post the binview data files acquired using the Snap program. If the data acquired is really invalid, then of course the routine above will not work properly either.


I have posted the binview data file to your mail. Please analyst the binview data.

Thank You
Back to top
View user's profile Send private message Yahoo Messenger
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2267
Location: So. Cal. USA

PostPosted: Wed Mar 25, 2009 8:38 am    Post subject: Bad data Reply with quote

I have reviewed the binview data and I cannot determine the cause of the problem with the available information. It appears that either your X3-10M is defective, or you have a bad cable or you are not injecting a proper signal.

Please inject a 100 kHz, +/- 1Vp-p sine wave into all eight channels (one-at-a time if necessary) and run the supplied Snap example code to acquire data. Examine it with BinView. Do all eight channels behave identically? Please post a zip file containing the bin/bdd files for review.

Please provide the complete firmware version information reported by Snap.

If that does not reveal anything, I will send another coax cable assembly and/or MDR68/terminal breakout so that we can determine if the cabling is the culprit. If that still doesn't work, we will try replacing the module.

_________________
phpbb1
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    II Support Forum Index -> X3-10M (GMT - 8 Hours)
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

© Copyright 2006-2012 Innovative Integration
Powered by phpBB © 2001, 2002 phpBB Group
Based on iCGstation v1.0 Template By Ray © 2003, 2004 iOptional